.class public Lcom/nemustech/regina/ElementWorkspaceControlBtn;
.super Lcom/nemustech/regina/Element;
.source "ElementWorkspaceControlBtn.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/nemustech/regina/ElementWorkspaceControlBtn$SDStorageBroadcastReceiver;,
        Lcom/nemustech/regina/ElementWorkspaceControlBtn$UpdateBroadcastReceiver;,
        Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;,
        Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;,
        Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidRightOnTouchListener;,
        Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidAppsOnTouchListener;,
        Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;
    }
.end annotation


# static fields
.field public static final BAND_AID_INIT_XPOS:F = 0.0f

.field private static final BAND_ANI_STATE_ROTATE_BAND_START:I = 0x1

.field private static final BAND_ANI_STATE_ROTATE_TRASH_START:I = 0x2

.field private static final BAND_ANI_STATE_STOP:I = 0x0

.field public static final BAND_BUTTON_STATE_DEFAULT:I = 0x0

.field public static final BAND_BUTTON_STATE_FOCUS:I = 0x1

.field public static final BAND_BUTTON_STATE_LOCK:I = 0x2

.field public static final BAND_BUTTON_STATE_PRESS:I = 0x2

.field private static final BMP_CONFIG:Landroid/graphics/Bitmap$Config; = null

.field public static final BOUND_POSITION2D_DELETE_CONTAIN:I = 0x1

.field public static final BOUND_POSITION2D_DELETE_ONLY_CONTAIN:I = 0x3

.field public static final BOUND_POSITION2D_LEFT_APP_CONTAIN:I = 0x5

.field public static final BOUND_POSITION2D_NOT_CONTAIN:I = 0x0

.field public static final BOUND_POSITION2D_RIGHT_APP_CONTAIN:I = 0x6

.field public static final BOUND_POSITION2D_UNINSTALL_CONTAIN:I = 0x2

.field public static final BOUND_POSITION2D_UNINSTALL_ONLY_CONTAIN:I = 0x4

.field private static final DEBUG_LOG_DISPLAY:Z = true

.field private static final FACE_BAND_XAXIS_ANGLE:I = 0x0

.field private static final FACE_INDEX_CONTROL_BTN:I = 0x0

.field private static final FACE_INDEX_TRASH_BTN:I = 0x1

.field private static final FACE_TRASH_XAXIS_ANGLE:I = 0xb4

.field private static final INTENT_ACTIOIN_BAND_LEFT:Ljava/lang/String; = "android.intent.action.CALL_BUTTON"

.field private static final INTENT_ACTION_BAND_RIGHT:Ljava/lang/String; = "android.intent.action.MAIN"

.field public static final LR_APPS_MOVE_SPEED:I = 0x82

.field private static final PACKAGE_NAME_BAND_LEFT:Ljava/lang/String; = "com.android.contacts"

.field private static final PACKAGE_NAME_BAND_RIGHT:Ljava/lang/String; = "com.android.browser"

.field private static final ROTATE_DURATION:I = 0xc8

.field private static final ROTATE_SPEED:F = 1.2f

.field private static final TAG:Ljava/lang/String; = "ElementWorkspaceControlBtn"

.field public static final TRASH_STATE_ALL:I = 0x0

.field public static final TRASH_STATE_DELETE_ONLY:I = 0x1

.field public static final TRASH_STATE_DELETE_ONLY_UNDOCK_APPS:I = 0x2

.field public static final TRASH_STATE_NONE:I = -0x1

.field public static final TRASH_STATE_UNINSTALL_ONLY:I = 0x3

.field private static final WORKSPACE_MOVE_DELAY:I = 0x32

.field private static final WORKSPACE_POST_DELAY:I = 0x1e


# instance fields
.field private mAngle:I

.field private mAppListAnimationEventListener:Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;

.field private mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

.field private mBandAidAreaBound:Landroid/graphics/Rect;

.field private mBandAniState:I

.field private mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mDeleteBound:Landroid/graphics/Rect;

.field private mDeleteOnlyBound:Landroid/graphics/Rect;

.field private mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mInitLeftApp3DHeight:F

.field private mInitLeftApp3DWidth:F

.field private mInitLeftAppPanel3DPosX:F

.field private mInitRightApp3DHeight:F

.field private mInitRightApp3DWidth:F

.field private mInitRightAppPanel3DPosX:F

.field private mInitXPos:F

.field private mInitYPos:F

.field private mIsFocusDelete:Z

.field private mIsFocusDeleteOnly:Z

.field private mIsFocusUninstall:Z

.field private mIsFocusUninstallOnly:Z

.field private mLRAppsPanelZoomPos:F

.field private mLeftAppBound:Landroid/graphics/Rect;

.field private mLeftAppIntent:Landroid/content/Intent;

.field private mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mLeftAppRI:Landroid/content/pm/ResolveInfo;

.field private mMaxXPos:F

.field private mMinXPos:F

.field private mPanelsHalfWidth:F

.field private mRC:Lcom/nemustech/regina/ResourceCare;

.field private mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

.field private mReginaPref:Lcom/nemustech/regina/ReginaPreference;

.field private mRemovedElement:Lcom/nemustech/regina/Element;

.field private mRemovedWs:Lcom/nemustech/regina/RGWorkspace;

.field private mRightAppBound:Landroid/graphics/Rect;

.field private mRightAppIntent:Landroid/content/Intent;

.field private mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mRightAppRI:Landroid/content/pm/ResolveInfo;

.field private mSDIntentFilter:Landroid/content/IntentFilter;

.field private mSDStorageBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$SDStorageBroadcastReceiver;

.field private mScrollAniListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;

.field private mScrollLeftThreshold:F

.field private mScrollRightThreshold:F

.field public mShowBandAidFinisheListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

.field private mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

.field private mTrashState:I

.field private mUninstallBound:Landroid/graphics/Rect;

.field private mUninstallBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;

.field private mUninstallIntentFilter:Landroid/content/IntentFilter;

.field private mUninstallOnlyBound:Landroid/graphics/Rect;

.field private mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

.field private mUpdateBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UpdateBroadcastReceiver;

.field private mUpdateIntentFilter:Landroid/content/IntentFilter;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 38
    sget-object v0, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    sput-object v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    return-void
.end method

.method public constructor <init>(Lcom/nemustech/regina/ReginaLauncher;)V
    .locals 6
    .parameter "reginaLauncher"

    .prologue
    const/high16 v5, 0x4120

    const/4 v4, 0x0

    .line 158
    invoke-direct {p0}, Lcom/nemustech/regina/Element;-><init>()V

    .line 1229
    new-instance v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;

    invoke-direct {v0, p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$7;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mShowBandAidFinisheListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    .line 1485
    new-instance v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$8;

    invoke-direct {v0, p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$8;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAppListAnimationEventListener:Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;

    .line 160
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setEnableLongClick(Z)V

    .line 161
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mContext:Landroid/content/Context;

    .line 162
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    .line 163
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getReginaPref()Lcom/nemustech/regina/ReginaPreference;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    .line 165
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteBound:Landroid/graphics/Rect;

    .line 166
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallBound:Landroid/graphics/Rect;

    .line 167
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyBound:Landroid/graphics/Rect;

    .line 168
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyBound:Landroid/graphics/Rect;

    .line 169
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAidAreaBound:Landroid/graphics/Rect;

    .line 170
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppBound:Landroid/graphics/Rect;

    .line 171
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppBound:Landroid/graphics/Rect;

    .line 173
    new-instance v0, Lcom/nemustech/regina/PanelTrashMessage;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/nemustech/regina/PanelTrashMessage;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    .line 175
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v0}, Lcom/nemustech/regina/ResourceCare;->getResourceCare(Landroid/content/Context;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    .line 177
    new-instance v0, Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-direct {v0}, Lcom/nemustech/tiffany/world/TFPlaceHolder;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    .line 178
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const-string v1, "[ElementWorspaceControlBtn]WorkspaceCtrl Pad"

    iput-object v1, v0, Lcom/nemustech/tiffany/world/TFPlaceHolder;->mDescription:Ljava/lang/String;

    .line 180
    const/4 v0, 0x0

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitXPos:F

    .line 181
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v1}, Lcom/nemustech/regina/RUtils;->getScreenHeightAvailable(Landroid/content/Context;)I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    const v3, 0x7f060012

    invoke-virtual {v2, v3}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v2

    sub-int/2addr v1, v2

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v0

    neg-float v0, v0

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitYPos:F

    .line 183
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v1}, Lcom/nemustech/regina/RUtils;->getScreenWidthAvailable(Landroid/content/Context;)I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v0

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMaxXPos:F

    .line 184
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMaxXPos:F

    neg-float v0, v0

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMinXPos:F

    .line 185
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMaxXPos:F

    div-float/2addr v0, v5

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollRightThreshold:F

    .line 186
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMinXPos:F

    div-float/2addr v0, v5

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollLeftThreshold:F

    .line 187
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    const v1, 0x7f06009d

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/ResourceCare;->getDimensionD(I)F

    move-result v0

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLRAppsPanelZoomPos:F

    .line 188
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    const v2, 0x7f06000f

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v1

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    const v3, 0x7f060010

    invoke-virtual {v2, v3}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    add-int/2addr v1, v2

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v0

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mPanelsHalfWidth:F

    .line 191
    new-instance v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;

    invoke-direct {v0, p0, v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollAniListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;

    .line 193
    new-instance v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;

    invoke-direct {v0, p0, v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;

    .line 194
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallIntentFilter:Landroid/content/IntentFilter;

    .line 195
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallIntentFilter:Landroid/content/IntentFilter;

    const-string v1, "android.intent.action.PACKAGE_REMOVED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 196
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallIntentFilter:Landroid/content/IntentFilter;

    const-string v1, "package"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addDataScheme(Ljava/lang/String;)V

    .line 197
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallIntentFilter:Landroid/content/IntentFilter;

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ReginaLauncher;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 199
    new-instance v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UpdateBroadcastReceiver;

    invoke-direct {v0, p0, v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$UpdateBroadcastReceiver;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUpdateBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UpdateBroadcastReceiver;

    .line 200
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUpdateIntentFilter:Landroid/content/IntentFilter;

    .line 201
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUpdateIntentFilter:Landroid/content/IntentFilter;

    const-string v1, "android.intent.action.PACKAGE_REPLACED"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 202
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUpdateIntentFilter:Landroid/content/IntentFilter;

    const-string v1, "package"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addDataScheme(Ljava/lang/String;)V

    .line 203
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUpdateBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UpdateBroadcastReceiver;

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUpdateIntentFilter:Landroid/content/IntentFilter;

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ReginaLauncher;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 205
    new-instance v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn$SDStorageBroadcastReceiver;

    invoke-direct {v0, p0, v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$SDStorageBroadcastReceiver;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mSDStorageBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$SDStorageBroadcastReceiver;

    .line 206
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mSDIntentFilter:Landroid/content/IntentFilter;

    .line 207
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mSDIntentFilter:Landroid/content/IntentFilter;

    const-string v1, "android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 208
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mSDIntentFilter:Landroid/content/IntentFilter;

    const-string v1, "android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE"

    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 209
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mSDStorageBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$SDStorageBroadcastReceiver;

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mSDIntentFilter:Landroid/content/IntentFilter;

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ReginaLauncher;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 211
    const/4 v0, -0x1

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashState:I

    .line 212
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initBandAidApps()V

    .line 213
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->init()V

    .line 214
    return-void
.end method

.method static synthetic access$1000(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 34
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showTrash()V

    return-void
.end method

.method static synthetic access$1100(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method static synthetic access$1200(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/graphics/Rect;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppBound:Landroid/graphics/Rect;

    return-object v0
.end method

.method static synthetic access$1300(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftApp3DWidth:F

    return v0
.end method

.method static synthetic access$1400(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftApp3DHeight:F

    return v0
.end method

.method static synthetic access$1500(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftAppPanel3DPosX:F

    return v0
.end method

.method static synthetic access$1600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightApp3DWidth:F

    return v0
.end method

.method static synthetic access$1700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightApp3DHeight:F

    return v0
.end method

.method static synthetic access$1800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightAppPanel3DPosX:F

    return v0
.end method

.method static synthetic access$1900(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V
    .locals 0
    .parameter "x0"

    .prologue
    .line 34
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->dockLRApps()V

    return-void
.end method

.method static synthetic access$2300(Lcom/nemustech/regina/ElementWorkspaceControlBtn;F)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->scrollAppList(F)V

    return-void
.end method

.method static synthetic access$2400(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)F
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitYPos:F

    return v0
.end method

.method static synthetic access$2500(Lcom/nemustech/regina/ElementWorkspaceControlBtn;FFFFI)Z
    .locals 1
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"
    .parameter "x3"
    .parameter "x4"
    .parameter "x5"

    .prologue
    .line 34
    invoke-direct/range {p0 .. p5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->onTouchDragListener(FFFFI)Z

    move-result v0

    return v0
.end method

.method static synthetic access$2600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;FFFFI)Z
    .locals 1
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"
    .parameter "x3"
    .parameter "x4"
    .parameter "x5"

    .prologue
    .line 34
    invoke-direct/range {p0 .. p5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->onAppListTouchDragListener(FFFFI)Z

    move-result v0

    return v0
.end method

.method static synthetic access$2700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/Intent;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppIntent:Landroid/content/Intent;

    return-object v0
.end method

.method static synthetic access$2800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/Intent;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppIntent:Landroid/content/Intent;

    return-object v0
.end method

.method static synthetic access$2900(Lcom/nemustech/regina/ElementWorkspaceControlBtn;F)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->scrollWorkspace(F)V

    return-void
.end method

.method static synthetic access$3000(Lcom/nemustech/regina/ElementWorkspaceControlBtn;ILjava/lang/String;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"

    .prologue
    .line 34
    invoke-direct {p0, p1, p2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeElementInWorkspaces(ILjava/lang/String;)V

    return-void
.end method

.method static synthetic access$3100(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Ljava/lang/String;)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeInApps(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$3200(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/pm/ResolveInfo;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    return-object v0
.end method

.method static synthetic access$3202(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Landroid/content/pm/ResolveInfo;)Landroid/content/pm/ResolveInfo;
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    return-object p1
.end method

.method static synthetic access$3300(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaPreference;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    return-object v0
.end method

.method static synthetic access$3400(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/ResolveInfo;
    .locals 1
    .parameter "x0"
    .parameter "x1"
    .parameter "x2"
    .parameter "x3"

    .prologue
    .line 34
    invoke-direct {p0, p1, p2, p3}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getResolveInfo(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/ResolveInfo;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$3500()Landroid/graphics/Bitmap$Config;
    .locals 1

    .prologue
    .line 34
    sget-object v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    return-object v0
.end method

.method static synthetic access$3600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/content/pm/ResolveInfo;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    return-object v0
.end method

.method static synthetic access$3602(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Landroid/content/pm/ResolveInfo;)Landroid/content/pm/ResolveInfo;
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    iput-object p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    return-object p1
.end method

.method static synthetic access$400(Lcom/nemustech/regina/ElementWorkspaceControlBtn;I)V
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    invoke-direct {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeElementInWorkspace(I)V

    return-void
.end method

.method static synthetic access$502(Lcom/nemustech/regina/ElementWorkspaceControlBtn;I)I
    .locals 0
    .parameter "x0"
    .parameter "x1"

    .prologue
    .line 34
    iput p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    return p1
.end method

.method static synthetic access$600(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPlaceHolder;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    return-object v0
.end method

.method static synthetic access$700(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/regina/ReginaLauncher;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    return-object v0
.end method

.method static synthetic access$800(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method static synthetic access$900(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)Landroid/graphics/Rect;
    .locals 1
    .parameter "x0"

    .prologue
    .line 34
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppBound:Landroid/graphics/Rect;

    return-object v0
.end method

.method private dockLRApps()V
    .locals 7

    .prologue
    const-wide/16 v4, 0x82

    const/4 v3, 0x0

    const/4 v6, 0x1

    .line 1187
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-nez v0, :cond_0

    .line 1188
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftAppPanel3DPosX:F

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v2, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v2

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 1189
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn$5;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$5;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1203
    :goto_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-nez v0, :cond_1

    .line 1204
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightAppPanel3DPosX:F

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v2, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v2

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 1205
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn$6;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$6;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1220
    :goto_1
    return-void

    .line 1200
    :cond_0
    const-string v0, "ElementWorkspaceControlBtn"

    const-string v1, "[dockLRApps()] Error(Left App) ==> Parent Holder must be null !!!"

    invoke-static {v0, v1, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    goto :goto_0

    .line 1217
    :cond_1
    const/4 v0, 0x0

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    .line 1218
    const-string v0, "ElementWorkspaceControlBtn"

    const-string v1, "[dockLRApps()] Error(Right App) ==> Parent Holder must be null !!!"

    invoke-static {v0, v1, v6}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    goto :goto_1
.end method

.method private dumpList(Ljava/util/List;)V
    .locals 6
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Landroid/content/pm/ResolveInfo;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, list:Ljava/util/List;,"Ljava/util/List<Landroid/content/pm/ResolveInfo;>;"
    const/4 v5, 0x1

    .line 326
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[dumpList() LIST SIZE="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "] START OF DUMP<><><><><><><><><><><><><><><><><><><><><><><><><><><>"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 327
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v2

    if-ge v0, v2, :cond_0

    .line 328
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/content/pm/ResolveInfo;

    .line 329
    .local v1, ri:Landroid/content/pm/ResolveInfo;
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[gnom] i="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "--------------------------------------------------"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 330
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[gnom] i="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", ri.activityInfo.packageName="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v4, v4, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 331
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[gnom] i="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", ri.activityInfo.name="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v4, v4, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 332
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[gnom] i="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", ri.icon="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget v4, v1, Landroid/content/pm/ResolveInfo;->icon:I

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 333
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[gnom] i="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", ri.activityInfo.applicationInfo.sourceDir="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    iget-object v4, v1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v4, v4, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    iget-object v4, v4, Landroid/content/pm/ApplicationInfo;->sourceDir:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 334
    const-string v2, "ElementWorkspaceControlBtn"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "[gnom] i="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, ", ri.getIconResource()="

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v1}, Landroid/content/pm/ResolveInfo;->getIconResource()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3, v5}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 327
    add-int/lit8 v0, v0, 0x1

    goto/16 :goto_0

    .line 336
    .end local v1           #ri:Landroid/content/pm/ResolveInfo;
    :cond_0
    return-void
.end method

.method private getResolveInfo(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/ResolveInfo;
    .locals 5
    .parameter "packageName"
    .parameter "className"
    .parameter "intentAction"

    .prologue
    .line 814
    new-instance v1, Landroid/content/Intent;

    const/4 v3, 0x0

    invoke-direct {v1, p3, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 815
    .local v1, appSchIntent:Landroid/content/Intent;
    if-eqz p1, :cond_2

    if-eqz p2, :cond_2

    .line 816
    invoke-virtual {v1, p1, p2}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 823
    :cond_0
    :goto_0
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v3}, Lcom/nemustech/regina/ReginaLauncher;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v3

    const/high16 v4, 0x1

    invoke-virtual {v3, v1, v4}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;

    move-result-object v0

    .line 825
    .local v0, appList:Ljava/util/List;,"Ljava/util/List<Landroid/content/pm/ResolveInfo;>;"
    const/4 v2, 0x0

    .line 826
    .local v2, ri:Landroid/content/pm/ResolveInfo;
    if-eqz v0, :cond_1

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v3

    if-lez v3, :cond_1

    .line 827
    const/4 v3, 0x0

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    .end local v2           #ri:Landroid/content/pm/ResolveInfo;
    check-cast v2, Landroid/content/pm/ResolveInfo;

    .line 830
    .restart local v2       #ri:Landroid/content/pm/ResolveInfo;
    :cond_1
    return-object v2

    .line 818
    .end local v0           #appList:Ljava/util/List;,"Ljava/util/List<Landroid/content/pm/ResolveInfo;>;"
    .end local v2           #ri:Landroid/content/pm/ResolveInfo;
    :cond_2
    if-eqz p1, :cond_0

    .line 819
    invoke-virtual {v1, p1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_0
.end method

.method private init()V
    .locals 27

    .prologue
    .line 1252
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v4, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitXPos:F

    move v5, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitYPos:F

    move v6, v0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    .line 1255
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f020017

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    .line 1256
    .local v5, bg:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v6, 0x7f02001f

    invoke-static {v4, v6}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 1257
    .local v6, icon:Landroid/graphics/Bitmap;
    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x0

    move-object/from16 v4, p0

    invoke-direct/range {v4 .. v9}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v18

    .line 1258
    .local v18, bitmap:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    .end local v5           #bg:Landroid/graphics/Bitmap;
    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v20

    .line 1259
    .local v20, bitmapWidth:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v19

    .line 1260
    .local v19, bitmapHeight:F
    move-object/from16 v0, p0

    move/from16 v1, v20

    move/from16 v2, v19

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initDeleteBound(FF)V

    .line 1261
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    move-object v0, v4

    move-object v1, v5

    move/from16 v2, v20

    move/from16 v3, v19

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1262
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v5, "[ElementWorkspaceControlBtn] Band back delete Panel"

    iput-object v5, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1263
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    move-object v0, v4

    move v1, v5

    move-object/from16 v2, v18

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1264
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/high16 v5, 0x4334

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->look(FF)V

    .line 1265
    .end local v6           #icon:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/high16 v5, 0x4000

    div-float v5, v20, v5

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1266
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1267
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1268
    const/4 v4, 0x0

    move v0, v4

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusDelete:Z

    .line 1271
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f020018

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    .line 1272
    .restart local v5       #bg:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v6, 0x7f020021

    invoke-static {v4, v6}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 1273
    .restart local v6       #icon:Landroid/graphics/Bitmap;
    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x0

    move-object/from16 v4, p0

    invoke-direct/range {v4 .. v9}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v18

    .line 1274
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    .end local v5           #bg:Landroid/graphics/Bitmap;
    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v20

    .line 1275
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v19

    .line 1276
    move-object/from16 v0, p0

    move/from16 v1, v20

    move/from16 v2, v19

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initUninstallBound(FF)V

    .line 1277
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    move-object v0, v4

    move-object v1, v5

    move/from16 v2, v20

    move/from16 v3, v19

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1278
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v5, "[ElementWorkspaceControlBtn] Band back uninstall panel"

    iput-object v5, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1279
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    move-object v0, v4

    move v1, v5

    move-object/from16 v2, v18

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1280
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/high16 v5, 0x4334

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->look(FF)V

    .line 1281
    .end local v6           #icon:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    move/from16 v0, v20

    neg-float v0, v0

    move v5, v0

    const/high16 v6, 0x4000

    div-float/2addr v5, v6

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1282
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1283
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1284
    const/4 v4, 0x0

    move v0, v4

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusUninstall:Z

    .line 1287
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f020016

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v8

    .line 1288
    .local v8, bgLeftRight:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f02001f

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 1289
    .restart local v6       #icon:Landroid/graphics/Bitmap;
    const/4 v10, 0x0

    const/4 v11, 0x0

    const/4 v12, 0x0

    move-object/from16 v7, p0

    move-object v9, v6

    invoke-direct/range {v7 .. v12}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v18

    .line 1290
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v20

    .line 1291
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v19

    .line 1292
    move-object/from16 v0, p0

    move/from16 v1, v20

    move/from16 v2, v19

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initDeleteOnlyBound(FF)V

    .line 1293
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    move-object v0, v4

    move-object v1, v5

    move/from16 v2, v20

    move/from16 v3, v19

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1294
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v5, "[ElementWorkspaceControlBtn] Band back delete only panel"

    iput-object v5, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1295
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    move-object v0, v4

    move v1, v5

    move-object/from16 v2, v18

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1296
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/high16 v5, 0x4334

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->look(FF)V

    .line 1297
    .end local v6           #icon:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1298
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1299
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1300
    const/4 v4, 0x0

    move v0, v4

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusDeleteOnly:Z

    .line 1303
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f020021

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 1304
    .restart local v6       #icon:Landroid/graphics/Bitmap;
    const/4 v10, 0x0

    const/4 v11, 0x0

    const/4 v12, 0x0

    move-object/from16 v7, p0

    move-object v9, v6

    invoke-direct/range {v7 .. v12}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v18

    .line 1305
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v20

    .line 1306
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual/range {v18 .. v18}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v19

    .line 1307
    move-object/from16 v0, p0

    move/from16 v1, v20

    move/from16 v2, v19

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initUninstallOnlyBound(FF)V

    .line 1308
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    move-object v0, v4

    move-object v1, v5

    move/from16 v2, v20

    move/from16 v3, v19

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1309
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v5, "[ElementWorkspaceControlBtn] Band back uninstall only panel"

    iput-object v5, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1310
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBeautyReflection(Z)V

    .line 1311
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    move-object v0, v4

    move v1, v5

    move-object/from16 v2, v18

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1312
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/high16 v5, 0x4334

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->look(FF)V

    .line 1313
    .end local v6           #icon:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1314
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1315
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1316
    const/4 v4, 0x0

    move v0, v4

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusUninstallOnly:Z

    .line 1319
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v6, 0x7f060010

    invoke-virtual {v5, v6}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v14

    .line 1320
    .local v14, bandAppBtnWidth:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v6, 0x7f06000f

    invoke-virtual {v5, v6}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v16

    .line 1321
    .local v16, bandLeftBtnWidth:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v6, 0x7f060011

    invoke-virtual {v5, v6}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v17

    .line 1322
    .local v17, bandRightBtnWidth:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v6, 0x7f06000e

    invoke-virtual {v5, v6}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v15

    .line 1325
    .local v15, bandHeight:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v6, 0x7f0600a1

    invoke-virtual {v5, v6}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v25

    .line 1326
    .local v25, offset:F
    new-instance v24, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;

    const/4 v4, 0x0

    move-object/from16 v0, v24

    move-object/from16 v1, p0

    move-object v2, v4

    invoke-direct {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V

    .line 1327
    .local v24, leftBandTouchListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidLeftOnTouchListener;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f020019

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    .line 1328
    .restart local v5       #bg:Landroid/graphics/Bitmap;
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v6, v0

    move-object v0, v4

    move-object v1, v6

    move/from16 v2, v16

    move v3, v15

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1329
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v6, "[ElementWorkspaceControlBtn] Bnad left bg panel"

    iput-object v6, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1330
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v6, 0x0

    invoke-virtual {v4, v6, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1331
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/high16 v5, 0x4000

    div-float v5, v14, v5

    const/high16 v6, 0x4000

    div-float v6, v16, v6

    add-float/2addr v5, v6

    neg-float v5, v5

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1332
    .end local v5           #bg:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    move-object v0, v4

    move-object/from16 v1, v24

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOnTouchListener(Lcom/nemustech/tiffany/world/TFModel$OnTouchListener;)V

    .line 1333
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1336
    const/16 v23, 0x0

    .line 1337
    .local v23, iconWidth:F
    const/16 v22, 0x0

    .line 1338
    .local v22, iconHeight:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    move-object v4, v0

    if-eqz v4, :cond_0

    .line 1339
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v5, v0

    invoke-virtual {v5}, Lcom/nemustech/regina/ReginaLauncher;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/content/pm/ResolveInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    check-cast v4, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v4}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v4

    sget-object v5, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    const/4 v6, 0x1

    invoke-virtual {v4, v5, v6}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 1343
    .restart local v6       #icon:Landroid/graphics/Bitmap;
    :goto_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v7, 0x7f06001b

    invoke-virtual {v5, v7}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v23

    .line 1344
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v7, 0x7f06001c

    invoke-virtual {v5, v7}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v22

    .line 1345
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    const/high16 v7, 0x4000

    mul-float v7, v7, v23

    const/high16 v8, 0x4040

    div-float/2addr v7, v8

    const/high16 v8, 0x4000

    mul-float v8, v8, v22

    const/high16 v9, 0x4040

    div-float/2addr v8, v9

    invoke-direct {v4, v5, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    .end local v8           #bgLeftRight:Landroid/graphics/Bitmap;
    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1346
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v5, "[ElementWorkspaceControlBtn] Bnad left app panel"

    iput-object v5, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1347
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    move-object v0, v4

    move-object/from16 v1, v24

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOnTouchListener(Lcom/nemustech/tiffany/world/TFModel$OnTouchListener;)V

    .line 1348
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->banChiselFringe(Z)V

    .line 1349
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v4

    move v0, v4

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftApp3DWidth:F

    .line 1350
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFPanel;->getHeight()F

    move-result v4

    move v0, v4

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftApp3DHeight:F

    .line 1351
    const/high16 v4, 0x4000

    div-float v4, v14, v4

    const/high16 v5, 0x4000

    div-float v5, v16, v5

    add-float/2addr v4, v5

    neg-float v4, v4

    add-float v4, v4, v25

    move v0, v4

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftAppPanel3DPosX:F

    .line 1352
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftAppPanel3DPosX:F

    move v5, v0

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-virtual {v4, v5, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1353
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1354
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1357
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    invoke-direct {v4, v5, v14, v15}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1358
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v5, "[ElementWorkspaceControlBtn] Bnad center app list panel"

    iput-object v5, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1359
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v6, v0

    .end local v6           #icon:Landroid/graphics/Bitmap;
    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const v7, 0x7f020010

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/content/res/Resources;I)Lcom/nemustech/tiffany/world/TFError;

    .line 1360
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1361
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    new-instance v5, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidAppsOnTouchListener;

    const/4 v6, 0x0

    move-object v0, v5

    move-object/from16 v1, p0

    move-object v2, v6

    invoke-direct {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidAppsOnTouchListener;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setOnTouchListener(Lcom/nemustech/tiffany/world/TFModel$OnTouchListener;)V

    .line 1362
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1365
    new-instance v26, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidRightOnTouchListener;

    const/4 v4, 0x0

    move-object/from16 v0, v26

    move-object/from16 v1, p0

    move-object v2, v4

    invoke-direct {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidRightOnTouchListener;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;)V

    .line 1366
    .local v26, rightBandTouchListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidRightOnTouchListener;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v4

    const v5, 0x7f02001c

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v5

    .line 1367
    .restart local v5       #bg:Landroid/graphics/Bitmap;
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v6, v0

    move-object v0, v4

    move-object v1, v6

    move/from16 v2, v17

    move v3, v15

    invoke-direct {v0, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1368
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v6, "[ElementWorkspaceControlBtn] Bnad right bg panel"

    iput-object v6, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1369
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v6, 0x0

    invoke-virtual {v4, v6, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1370
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/high16 v5, 0x4000

    div-float v5, v14, v5

    const/high16 v6, 0x4000

    div-float v6, v17, v6

    add-float/2addr v5, v6

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v4, v5, v6, v7}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1371
    .end local v5           #bg:Landroid/graphics/Bitmap;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    move-object v0, v4

    move-object/from16 v1, v26

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOnTouchListener(Lcom/nemustech/tiffany/world/TFModel$OnTouchListener;)V

    .line 1372
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1375
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    move-object v4, v0

    if-eqz v4, :cond_1

    .line 1376
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v5, v0

    invoke-virtual {v5}, Lcom/nemustech/regina/ReginaLauncher;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/content/pm/ResolveInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    check-cast v4, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v4}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v4

    sget-object v5, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    const/4 v6, 0x1

    invoke-virtual {v4, v5, v6}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 1380
    .restart local v6       #icon:Landroid/graphics/Bitmap;
    :goto_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v7, 0x7f06001b

    invoke-virtual {v5, v7}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v23

    .line 1381
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    move-object v5, v0

    const v7, 0x7f06001c

    invoke-virtual {v5, v7}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;I)F

    move-result v22

    .line 1382
    const/high16 v4, 0x4000

    div-float v4, v14, v4

    const/high16 v5, 0x4000

    div-float v5, v17, v5

    add-float/2addr v4, v5

    sub-float v4, v4, v25

    move v0, v4

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightAppPanel3DPosX:F

    .line 1383
    new-instance v4, Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    const/high16 v7, 0x4000

    mul-float v7, v7, v23

    const/high16 v8, 0x4040

    div-float/2addr v7, v8

    const/high16 v8, 0x4000

    mul-float v8, v8, v22

    const/high16 v9, 0x4040

    div-float/2addr v8, v9

    invoke-direct {v4, v5, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;-><init>(Lcom/nemustech/tiffany/world/TFHolder;FF)V

    move-object v0, v4

    move-object/from16 v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    .line 1384
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const-string v5, "[ElementWorkspaceControlBtn] Bnad right app panel"

    iput-object v5, v4, Lcom/nemustech/tiffany/world/TFPanel;->mDescription:Ljava/lang/String;

    .line 1385
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->banChiselFringe(Z)V

    .line 1386
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v4

    move v0, v4

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightApp3DWidth:F

    .line 1387
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFPanel;->getHeight()F

    move-result v4

    move v0, v4

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightApp3DHeight:F

    .line 1388
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    move-object v0, v4

    move-object/from16 v1, v26

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setOnTouchListener(Lcom/nemustech/tiffany/world/TFModel$OnTouchListener;)V

    .line 1389
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    move-object/from16 v0, p0

    iget v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightAppPanel3DPosX:F

    move v5, v0

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-virtual {v4, v5, v7, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1390
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1391
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object v4, v0

    const/4 v5, 0x0

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPanel;->setBackFaceVisibility(Z)V

    .line 1393
    invoke-virtual/range {p0 .. p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initBandAidAreaBound()V

    .line 1394
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mEventConsumerList:Ljava/util/LinkedList;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v5, v0

    invoke-virtual {v4, v5}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z

    .line 1396
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-virtual {v4}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v4

    invoke-virtual {v4}, Lcom/nemustech/tiffany/world/TFWorld;->getCamera()Lcom/nemustech/tiffany/world/TFCamera;

    move-result-object v4

    const/4 v5, 0x2

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFCamera;->getLocation(I)F

    move-result v4

    invoke-static {v4}, Ljava/lang/Math;->abs(F)F

    move-result v21

    .line 1397
    .local v21, cameraPosition:F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v4, v0

    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v13

    .line 1398
    .local v13, bandAidPosition:F
    move/from16 v0, v21

    move v1, v13

    invoke-static {v0, v1}, Lcom/nemustech/tiffany/world/TFUtils;->calcOrthoDeviationAngle(FF)I

    move-result v4

    const/4 v5, 0x7

    sub-int/2addr v4, v5

    move v0, v4

    move-object/from16 v1, p0

    iput v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAngle:I

    .line 1399
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object v4, v0

    const/4 v5, 0x1

    invoke-virtual {v4, v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setPriorAxis(I)V

    .line 1400
    return-void

    .line 1341
    .end local v6           #icon:Landroid/graphics/Bitmap;
    .end local v13           #bandAidPosition:F
    .end local v21           #cameraPosition:F
    .end local v26           #rightBandTouchListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidRightOnTouchListener;
    .restart local v8       #bgLeftRight:Landroid/graphics/Bitmap;
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-static {v4}, Lcom/nemustech/regina/RUtils;->getDefaultIcon(Landroid/content/Context;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-static {v4}, Lcom/nemustech/regina/RUtils;->convertDrawableToBitmap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Bitmap;

    move-result-object v6

    .restart local v6       #icon:Landroid/graphics/Bitmap;
    goto/16 :goto_0

    .line 1378
    .end local v6           #icon:Landroid/graphics/Bitmap;
    .end local v8           #bgLeftRight:Landroid/graphics/Bitmap;
    .restart local v26       #rightBandTouchListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$BandAidRightOnTouchListener;
    :cond_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object v4, v0

    invoke-static {v4}, Lcom/nemustech/regina/RUtils;->getDefaultIcon(Landroid/content/Context;)Landroid/graphics/drawable/Drawable;

    move-result-object v4

    invoke-static {v4}, Lcom/nemustech/regina/RUtils;->convertDrawableToBitmap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Bitmap;

    move-result-object v6

    .restart local v6       #icon:Landroid/graphics/Bitmap;
    goto/16 :goto_1
.end method

.method private initBandAidApps()V
    .locals 11

    .prologue
    const/4 v10, 0x1

    const/4 v9, 0x0

    .line 236
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceLeftAppIntentAction()Ljava/lang/String;

    move-result-object v1

    .line 237
    .local v1, leftIntentAction:Ljava/lang/String;
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceLeftAppPackageName()Ljava/lang/String;

    move-result-object v2

    .line 238
    .local v2, leftPackageName:Ljava/lang/String;
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceLeftAppClassName()Ljava/lang/String;

    move-result-object v0

    .line 239
    .local v0, leftClassName:Ljava/lang/String;
    const-string v6, "ElementWorkspaceControlBtn"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "[initBandAidApps()]===> leftInfo="

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ", "

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7, v10}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 240
    if-eqz v2, :cond_0

    if-nez v1, :cond_1

    .line 241
    :cond_0
    const-string v1, "android.intent.action.CALL_BUTTON"

    .line 242
    const/4 v0, 0x0

    .line 244
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppIntentAction(Ljava/lang/String;)V

    .line 245
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppPackageName(Ljava/lang/String;)V

    .line 246
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppClassName(Ljava/lang/String;)V

    .line 247
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 249
    :cond_1
    new-instance v6, Landroid/content/Intent;

    invoke-direct {v6}, Landroid/content/Intent;-><init>()V

    iput-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppIntent:Landroid/content/Intent;

    .line 250
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppIntent:Landroid/content/Intent;

    invoke-direct {p0, v2, v0, v1, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setAppIntent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/pm/ResolveInfo;

    move-result-object v6

    iput-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    .line 253
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceRightAppIntentAction()Ljava/lang/String;

    move-result-object v4

    .line 254
    .local v4, rightIntentAction:Ljava/lang/String;
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceRightAppPackageName()Ljava/lang/String;

    move-result-object v5

    .line 255
    .local v5, rightPackageName:Ljava/lang/String;
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceRightAppClassName()Ljava/lang/String;

    move-result-object v3

    .line 256
    .local v3, rightClassName:Ljava/lang/String;
    const-string v6, "ElementWorkspaceControlBtn"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    const-string v8, "[initBandAidApps()]===> rightInfo="

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string v8, ", "

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-static {v6, v7, v10}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 257
    if-eqz v5, :cond_2

    if-nez v4, :cond_3

    .line 258
    :cond_2
    const-string v5, "com.android.browser"

    .line 259
    const-string v4, "android.intent.action.MAIN"

    .line 260
    const/4 v3, 0x0

    .line 262
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppIntentAction(Ljava/lang/String;)V

    .line 263
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppPackageName(Ljava/lang/String;)V

    .line 264
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppClassName(Ljava/lang/String;)V

    .line 265
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v6}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 267
    :cond_3
    new-instance v6, Landroid/content/Intent;

    invoke-direct {v6}, Landroid/content/Intent;-><init>()V

    iput-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppIntent:Landroid/content/Intent;

    .line 268
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppIntent:Landroid/content/Intent;

    invoke-direct {p0, v5, v3, v4, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setAppIntent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/pm/ResolveInfo;

    move-result-object v6

    iput-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    .line 269
    return-void
.end method

.method private initTrash()V
    .locals 1

    .prologue
    const/4 v0, 0x0

    .line 1223
    invoke-virtual {p0, v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallOnlyPanelImg(Z)V

    .line 1224
    invoke-virtual {p0, v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeleteOnlyPanelImg(Z)V

    .line 1225
    invoke-virtual {p0, v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeletePanelImg(Z)V

    .line 1226
    invoke-virtual {p0, v0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallPanelImg(Z)V

    .line 1227
    return-void
.end method

.method private makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;
    .locals 9
    .parameter "bg"
    .parameter "icon"
    .parameter "scale"
    .parameter "iconXPosOffset"
    .parameter "iconYPosOffset"

    .prologue
    .line 1507
    invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v1

    .line 1508
    .local v1, bgWidth:I
    invoke-virtual {p1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    .line 1510
    .local v0, bgHeight:I
    invoke-virtual {p2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v6

    add-int/2addr v6, p3

    invoke-virtual {p2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v7

    add-int/2addr v7, p3

    const/4 v8, 0x1

    invoke-static {p2, v6, v7, v8}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;

    move-result-object p2

    .line 1511
    invoke-virtual {p2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v5

    .line 1512
    .local v5, iconWidth:I
    invoke-virtual {p2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    .line 1514
    .local v4, iconHeight:I
    sget-object v6, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    invoke-static {v1, v0, v6}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;

    move-result-object v2

    .line 1515
    .local v2, bmpTarget:Landroid/graphics/Bitmap;
    new-instance v3, Landroid/graphics/Canvas;

    invoke-direct {v3, v2}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    .line 1516
    .local v3, canvas:Landroid/graphics/Canvas;
    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x0

    invoke-virtual {v3, p1, v6, v7, v8}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V

    .line 1517
    div-int/lit8 v6, v1, 0x2

    div-int/lit8 v7, v5, 0x2

    sub-int/2addr v6, v7

    int-to-float v6, v6

    add-float/2addr v6, p4

    div-int/lit8 v7, v0, 0x2

    div-int/lit8 v8, v4, 0x2

    sub-int/2addr v7, v8

    int-to-float v7, v7

    add-float/2addr v7, p5

    const/4 v8, 0x0

    invoke-virtual {v3, p2, v6, v7, v8}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V

    .line 1519
    return-object v2
.end method

.method private onAppListTouchDragListener(FFFFI)Z
    .locals 8
    .parameter "sx"
    .parameter "sy"
    .parameter "ex"
    .parameter "ey"
    .parameter "tickPassed"

    .prologue
    const/4 v6, 0x2

    const/4 v7, 0x1

    const/4 v5, 0x0

    .line 1466
    sub-float v2, p3, p1

    .line 1467
    .local v2, moveX:F
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v3, v2}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;F)F

    move-result v1

    .line 1469
    .local v1, move3DX:F
    const/4 v3, 0x3

    new-array v0, v3, [F

    .line 1470
    .local v0, holderLocation:[F
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation([F)V

    .line 1472
    const/4 v3, 0x0

    cmpl-float v3, v1, v3

    if-lez v3, :cond_1

    .line 1473
    aget v3, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v4

    add-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mPanelsHalfWidth:F

    add-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMaxXPos:F

    cmpg-float v3, v3, v4

    if-gtz v3, :cond_0

    .line 1474
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    aget v4, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v5

    add-float/2addr v4, v5

    aget v5, v0, v7

    aget v6, v0, v6

    invoke-virtual {v3, v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    .line 1481
    :cond_0
    :goto_0
    invoke-direct {p0, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->scrollAppList(F)V

    .line 1482
    return v7

    .line 1477
    :cond_1
    aget v3, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v4

    sub-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mPanelsHalfWidth:F

    sub-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMinXPos:F

    cmpl-float v3, v3, v4

    if-ltz v3, :cond_0

    .line 1478
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    aget v4, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v5

    sub-float/2addr v4, v5

    aget v5, v0, v7

    aget v6, v0, v6

    invoke-virtual {v3, v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    goto :goto_0
.end method

.method private onTouchDragListener(FFFFI)Z
    .locals 8
    .parameter "sx"
    .parameter "sy"
    .parameter "ex"
    .parameter "ey"
    .parameter "tickPassed"

    .prologue
    const/4 v6, 0x2

    const/4 v7, 0x1

    const/4 v5, 0x0

    .line 1446
    sub-float v2, p3, p1

    .line 1447
    .local v2, moveX:F
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v3, v2}, Lcom/nemustech/regina/RUtils;->convertTo3DSize(Landroid/content/Context;F)F

    move-result v1

    .line 1449
    .local v1, move3DX:F
    const/4 v3, 0x3

    new-array v0, v3, [F

    .line 1450
    .local v0, holderLocation:[F
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation([F)V

    .line 1452
    const/4 v3, 0x0

    cmpl-float v3, v1, v3

    if-lez v3, :cond_1

    .line 1453
    aget v3, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v4

    add-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mPanelsHalfWidth:F

    add-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMaxXPos:F

    cmpg-float v3, v3, v4

    if-gtz v3, :cond_0

    .line 1454
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    aget v4, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v5

    add-float/2addr v4, v5

    aget v5, v0, v7

    aget v6, v0, v6

    invoke-virtual {v3, v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    .line 1461
    :cond_0
    :goto_0
    invoke-direct {p0, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->scrollWorkspace(F)V

    .line 1462
    return v7

    .line 1457
    :cond_1
    aget v3, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v4

    sub-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mPanelsHalfWidth:F

    sub-float/2addr v3, v4

    iget v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMinXPos:F

    cmpl-float v3, v3, v4

    if-ltz v3, :cond_0

    .line 1458
    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    aget v4, v0, v5

    invoke-static {v1}, Ljava/lang/Math;->abs(F)F

    move-result v5

    sub-float/2addr v4, v5

    aget v5, v0, v7

    aget v6, v0, v6

    invoke-virtual {v3, v4, v5, v6}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->locate(FFF)V

    goto :goto_0
.end method

.method private removeElementInWorkspace(I)V
    .locals 2
    .parameter "workspaceMode"

    .prologue
    .line 601
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRemovedElement:Lcom/nemustech/regina/Element;

    if-nez v0, :cond_0

    .line 607
    :goto_0
    return-void

    .line 605
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRemovedWs:Lcom/nemustech/regina/RGWorkspace;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRemovedElement:Lcom/nemustech/regina/Element;

    invoke-virtual {p0, v0, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeElementInWorkspace(Lcom/nemustech/regina/RGWorkspace;Lcom/nemustech/regina/Element;)V

    .line 606
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRemovedElement:Lcom/nemustech/regina/Element;

    goto :goto_0
.end method

.method private removeElementInWorkspaces(ILjava/lang/String;)V
    .locals 12
    .parameter "workspaceMode"
    .parameter "removedPackageName"

    .prologue
    const/4 v11, 0x1

    .line 553
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v1

    .line 554
    .local v1, eleLoc:Lcom/nemustech/regina/ElementLocator;
    invoke-virtual {v1, p1}, Lcom/nemustech/regina/ElementLocator;->getWorkspaceCountByType(I)I

    move-result v7

    .line 556
    .local v7, workspaceCnt:I
    const/4 v3, 0x0

    .local v3, i:I
    :goto_0
    if-ge v3, v7, :cond_2

    .line 558
    invoke-virtual {v1, p1, v3}, Lcom/nemustech/regina/ElementLocator;->getWorkspace(II)Lcom/nemustech/regina/RGWorkspace;

    move-result-object v6

    .line 559
    .local v6, workspace:Lcom/nemustech/regina/RGWorkspace;
    invoke-virtual {v6}, Lcom/nemustech/regina/RGWorkspace;->getElementList()Ljava/util/ArrayList;

    move-result-object v0

    .line 560
    .local v0, eleList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Lcom/nemustech/regina/Element;>;"
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[removeElementInWorkspaces()] i="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "--------------------------- eleList.size()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v11}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 561
    const/4 v4, 0x0

    .line 562
    .local v4, j:I
    :goto_1
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v8

    if-ge v4, v8, :cond_1

    .line 563
    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/nemustech/regina/Element;

    .line 564
    .local v2, element:Lcom/nemustech/regina/Element;
    invoke-virtual {v2}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v5

    .line 565
    .local v5, packageName:Ljava/lang/String;
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[removeElementInWorkspaces() j="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, "] packageName="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string v10, ", removedPackageName="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v11}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 566
    invoke-virtual {p2, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-eqz v8, :cond_0

    .line 567
    invoke-virtual {p0, v6, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeElementInWorkspace(Lcom/nemustech/regina/RGWorkspace;Lcom/nemustech/regina/Element;)V

    goto :goto_1

    .line 569
    :cond_0
    add-int/lit8 v4, v4, 0x1

    goto :goto_1

    .line 556
    .end local v2           #element:Lcom/nemustech/regina/Element;
    .end local v5           #packageName:Ljava/lang/String;
    :cond_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 573
    .end local v0           #eleList:Ljava/util/ArrayList;,"Ljava/util/ArrayList<Lcom/nemustech/regina/Element;>;"
    .end local v4           #j:I
    .end local v6           #workspace:Lcom/nemustech/regina/RGWorkspace;
    :cond_2
    return-void
.end method

.method private removeInApps(Ljava/lang/String;)V
    .locals 2
    .parameter "removedPackageName"

    .prologue
    .line 576
    if-nez p1, :cond_1

    .line 588
    :cond_0
    :goto_0
    return-void

    .line 577
    :cond_1
    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object p1

    .line 579
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v1}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceLeftAppPackageName()Ljava/lang/String;

    move-result-object v0

    .line 580
    .local v0, prefPackageName:Ljava/lang/String;
    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 581
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetLeftApp()V

    .line 584
    :cond_2
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v1}, Lcom/nemustech/regina/ReginaPreference;->getWorkspaceRightAppPackageName()Ljava/lang/String;

    move-result-object v0

    .line 585
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 586
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetRightApp()V

    goto :goto_0
.end method

.method private resetLeftApp()V
    .locals 4

    .prologue
    .line 280
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetLeftAppIntent()V

    .line 281
    const/4 v0, 0x0

    .line 282
    .local v0, icon:Landroid/graphics/Bitmap;
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    if-eqz v1, :cond_1

    .line 283
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/content/pm/ResolveInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    check-cast v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v1}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v1

    sget-object v2, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    const/4 v3, 0x1

    invoke-virtual {v1, v2, v3}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 288
    :goto_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v2, 0x0

    invoke-virtual {v1, v2, v0}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 289
    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    .line 290
    :cond_0
    return-void

    .line 286
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v1}, Lcom/nemustech/regina/RUtils;->getDefaultIcon(Landroid/content/Context;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-static {v1}, Lcom/nemustech/regina/RUtils;->convertDrawableToBitmap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Bitmap;

    move-result-object v0

    goto :goto_0
.end method

.method private resetLeftAppIntent()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 272
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppIntentAction(Ljava/lang/String;)V

    .line 273
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppPackageName(Ljava/lang/String;)V

    .line 274
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0, v2}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppClassName(Ljava/lang/String;)V

    .line 275
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 276
    const-string v0, "android.intent.action.CALL_BUTTON"

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppIntent:Landroid/content/Intent;

    invoke-direct {p0, v2, v2, v0, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setAppIntent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/pm/ResolveInfo;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    .line 277
    return-void
.end method

.method private resetLeftBand()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 1144
    const-string v0, "ElementWorkspaceControlBtn"

    const-string v1, "[resetLeftBand()] CALL resetLeftBand()"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1145
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftApp3DWidth:F

    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftApp3DHeight:F

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 1146
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-nez v0, :cond_0

    .line 1147
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V

    .line 1148
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitLeftAppPanel3DPosX:F

    invoke-virtual {v0, v1, v3, v3}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1150
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppBound:Landroid/graphics/Rect;

    invoke-virtual {v0}, Landroid/graphics/Rect;->setEmpty()V

    .line 1151
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1152
    return-void
.end method

.method private resetRightApp()V
    .locals 4

    .prologue
    .line 301
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetRightAppIntent()V

    .line 302
    const/4 v0, 0x0

    .line 303
    .local v0, icon:Landroid/graphics/Bitmap;
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    if-eqz v1, :cond_1

    .line 304
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/content/pm/ResolveInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    check-cast v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v1}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v1

    sget-object v2, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    const/4 v3, 0x1

    invoke-virtual {v1, v2, v3}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 309
    :goto_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v2, 0x0

    invoke-virtual {v1, v2, v0}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 310
    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    .line 311
    :cond_0
    return-void

    .line 307
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v1}, Lcom/nemustech/regina/RUtils;->getDefaultIcon(Landroid/content/Context;)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-static {v1}, Lcom/nemustech/regina/RUtils;->convertDrawableToBitmap(Landroid/graphics/drawable/Drawable;)Landroid/graphics/Bitmap;

    move-result-object v0

    goto :goto_0
.end method

.method private resetRightAppIntent()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 293
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppIntentAction(Ljava/lang/String;)V

    .line 294
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppPackageName(Ljava/lang/String;)V

    .line 295
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0, v3}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppClassName(Ljava/lang/String;)V

    .line 296
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 297
    const-string v0, "com.android.browser"

    const-string v1, "android.intent.action.MAIN"

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppIntent:Landroid/content/Intent;

    invoke-direct {p0, v0, v3, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setAppIntent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/pm/ResolveInfo;

    move-result-object v0

    iput-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    .line 298
    return-void
.end method

.method private resetRightBand()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 1155
    const-string v0, "ElementWorkspaceControlBtn"

    const-string v1, "[resetRightBand()] CALL resetRightBand()"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1156
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightApp3DWidth:F

    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightApp3DHeight:F

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 1157
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-nez v0, :cond_0

    .line 1158
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->attachTo(Lcom/nemustech/tiffany/world/TFHolder;)V

    .line 1159
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitRightAppPanel3DPosX:F

    invoke-virtual {v0, v1, v3, v3}, Lcom/nemustech/tiffany/world/TFPanel;->locate(FFF)V

    .line 1161
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppBound:Landroid/graphics/Rect;

    invoke-virtual {v0}, Landroid/graphics/Rect;->setEmpty()V

    .line 1162
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1163
    return-void
.end method

.method private scrollAppList(F)V
    .locals 6
    .parameter "move3DX"

    .prologue
    const/16 v5, 0x32

    const/4 v4, 0x1

    .line 1427
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v1

    .line 1428
    .local v1, locator:Lcom/nemustech/regina/ElementLocator;
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v0

    .line 1430
    .local v0, band3DPosX:F
    const/4 v2, 0x0

    cmpl-float v2, p1, v2

    if-lez v2, :cond_1

    .line 1431
    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollRightThreshold:F

    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result v3

    add-float/2addr v3, v0

    cmpg-float v2, v2, v3

    if-gez v2, :cond_0

    invoke-virtual {v1}, Lcom/nemustech/regina/ElementLocator;->getScrollState()I

    move-result v2

    if-nez v2, :cond_0

    .line 1433
    invoke-virtual {v1, v4}, Lcom/nemustech/regina/ElementLocator;->setScrollState(I)V

    .line 1434
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    const/4 v3, -0x1

    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAppListAnimationEventListener:Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;

    invoke-virtual {v2, v3, v5, v4}, Lcom/nemustech/regina/ReginaLauncher;->scrollAppListToDir(IILcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 1443
    :cond_0
    :goto_0
    return-void

    .line 1437
    :cond_1
    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollLeftThreshold:F

    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result v3

    sub-float v3, v0, v3

    cmpl-float v2, v2, v3

    if-lez v2, :cond_0

    invoke-virtual {v1}, Lcom/nemustech/regina/ElementLocator;->getScrollState()I

    move-result v2

    if-nez v2, :cond_0

    .line 1439
    invoke-virtual {v1, v4}, Lcom/nemustech/regina/ElementLocator;->setScrollState(I)V

    .line 1440
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAppListAnimationEventListener:Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;

    invoke-virtual {v2, v4, v5, v3}, Lcom/nemustech/regina/ReginaLauncher;->scrollAppListToDir(IILcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    goto :goto_0
.end method

.method private scrollWorkspace(F)V
    .locals 8
    .parameter "move3DX"

    .prologue
    const/16 v7, 0x32

    const/16 v6, 0x1e

    const/4 v5, 0x6

    const/4 v4, 0x1

    .line 1404
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getElementLocator()Lcom/nemustech/regina/ElementLocator;

    move-result-object v1

    .line 1405
    .local v1, locator:Lcom/nemustech/regina/ElementLocator;
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v0

    .line 1407
    .local v0, band3DPosX:F
    const/4 v2, 0x0

    cmpl-float v2, p1, v2

    if-lez v2, :cond_1

    .line 1408
    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollRightThreshold:F

    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result v3

    add-float/2addr v3, v0

    cmpg-float v2, v2, v3

    if-gez v2, :cond_0

    invoke-virtual {v1}, Lcom/nemustech/regina/ElementLocator;->getScrollState()I

    move-result v2

    if-nez v2, :cond_0

    .line 1410
    invoke-virtual {v1, v4}, Lcom/nemustech/regina/ElementLocator;->setScrollState(I)V

    .line 1411
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollAniListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ElementLocator;->setWorkspaceAnimationListener(Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 1412
    const/4 v2, -0x1

    invoke-virtual {v1, v2, v7, v6}, Lcom/nemustech/regina/ElementLocator;->scrollWorkspaceToDirWithPostDelay(III)V

    .line 1413
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2, v5}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    .line 1424
    :cond_0
    :goto_0
    return-void

    .line 1416
    :cond_1
    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollLeftThreshold:F

    invoke-static {p1}, Ljava/lang/Math;->abs(F)F

    move-result v3

    sub-float v3, v0, v3

    cmpl-float v2, v2, v3

    if-lez v2, :cond_0

    invoke-virtual {v1}, Lcom/nemustech/regina/ElementLocator;->getScrollState()I

    move-result v2

    if-nez v2, :cond_0

    .line 1418
    invoke-virtual {v1, v4}, Lcom/nemustech/regina/ElementLocator;->setScrollState(I)V

    .line 1419
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mScrollAniListener:Lcom/nemustech/regina/ElementWorkspaceControlBtn$WorkspaceScrollAniListener;

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ElementLocator;->setWorkspaceAnimationListener(Lcom/nemustech/tiffany/world/TFAnimation$AnimationEventListener;)V

    .line 1420
    invoke-virtual {v1, v4, v7, v6}, Lcom/nemustech/regina/ElementLocator;->scrollWorkspaceToDirWithPostDelay(III)V

    .line 1421
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2, v5}, Lcom/nemustech/regina/ReginaLauncher;->setViewMode(I)V

    goto :goto_0
.end method

.method private setAppIntent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/pm/ResolveInfo;
    .locals 2
    .parameter "packageName"
    .parameter "className"
    .parameter "intentAction"
    .parameter "intent"

    .prologue
    .line 834
    if-nez p3, :cond_0

    .line 835
    const-string p3, "android.intent.action.MAIN"

    .line 851
    :cond_0
    invoke-direct {p0, p1, p2, p3}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getResolveInfo(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/content/pm/ResolveInfo;

    move-result-object v0

    .line 852
    .local v0, ri:Landroid/content/pm/ResolveInfo;
    const-string v1, "android.intent.category.LAUNCHER"

    invoke-virtual {p4, v1}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;

    .line 853
    const/high16 v1, 0x1020

    invoke-virtual {p4, v1}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 856
    if-nez p2, :cond_1

    .line 857
    if-eqz v0, :cond_1

    iget-object v1, v0, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object p2, v1, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;

    .line 859
    :cond_1
    if-nez p1, :cond_2

    .line 860
    if-eqz v0, :cond_2

    iget-object v1, v0, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;

    iget-object v1, v1, Landroid/content/pm/ActivityInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    iget-object p1, v1, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    .line 863
    :cond_2
    invoke-virtual {p4, p3}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 864
    if-eqz p1, :cond_4

    if-eqz p2, :cond_4

    .line 865
    new-instance v1, Landroid/content/ComponentName;

    invoke-direct {v1, p1, p2}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {p4, v1}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;

    .line 872
    :cond_3
    :goto_0
    return-object v0

    .line 867
    :cond_4
    if-eqz p1, :cond_3

    .line 868
    invoke-virtual {p4, p1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_0
.end method

.method private showRemoveAnimation(Lcom/nemustech/regina/Element;I)V
    .locals 20
    .parameter "element"
    .parameter "elementBoundPos"

    .prologue
    .line 612
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    move-object/from16 v17, v0

    invoke-virtual/range {v17 .. v17}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v17

    invoke-virtual/range {v17 .. v17}, Lcom/nemustech/tiffany/world/TFWorld;->lock()V

    .line 613
    invoke-virtual/range {p1 .. p1}, Lcom/nemustech/regina/Element;->getObject()Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v7

    check-cast v7, Lcom/nemustech/tiffany/world/TFCustomPanel;

    .line 614
    .local v7, panel:Lcom/nemustech/tiffany/world/TFCustomPanel;
    sget-object v17, Lcom/nemustech/regina/TouchedColor;->YELLOW:Lcom/nemustech/regina/TouchedColor;

    move-object v0, v7

    move-object/from16 v1, v17

    invoke-static {v0, v1}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 615
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->stopBlender()V

    .line 617
    new-instance v3, Lcom/nemustech/tiffany/world/TFCrumpleEffect;

    invoke-direct {v3, v7}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;-><init>(Lcom/nemustech/tiffany/world/TFCustomPanel;)V

    .line 618
    .local v3, cEff:Lcom/nemustech/tiffany/world/TFCrumpleEffect;
    const/16 v17, 0x1

    move-object v0, v3

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setRemovable(Z)V

    .line 619
    const/16 v17, 0x1

    move-object v0, v3

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setEffectMode(I)V

    .line 621
    const/16 v17, 0x3

    move/from16 v0, v17

    new-array v0, v0, [F

    move-object v2, v0

    .line 622
    .local v2, bandXYZ:[F
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    move-object/from16 v17, v0

    move-object/from16 v0, v17

    move-object v1, v2

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation([F)V

    .line 623
    const/16 v17, 0x3

    move/from16 v0, v17

    new-array v0, v0, [F

    move-object v12, v0

    .line 624
    .local v12, panelXYZ:[F
    invoke-virtual {v7, v12}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getLocation([F)V

    .line 629
    const/16 v17, 0x0

    aget v13, v2, v17

    .line 630
    .local v13, trashPosX:F
    const/16 v17, 0x1

    aget v14, v2, v17

    .line 633
    .local v14, trashPosY:F
    const/16 v17, 0x0

    aget v17, v12, v17

    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWidth()F

    move-result v18

    const/high16 v19, 0x4000

    div-float v18, v18, v19

    sub-float v9, v17, v18

    .line 634
    .local v9, panelLeft:F
    const/16 v17, 0x0

    aget v17, v12, v17

    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWidth()F

    move-result v18

    const/high16 v19, 0x4000

    div-float v18, v18, v19

    add-float v10, v17, v18

    .line 635
    .local v10, panelRight:F
    const/16 v17, 0x1

    aget v17, v12, v17

    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getHeight()F

    move-result v18

    const/high16 v19, 0x4000

    div-float v18, v18, v19

    add-float v11, v17, v18

    .line 636
    .local v11, panelTop:F
    const/16 v17, 0x1

    aget v17, v12, v17

    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getHeight()F

    move-result v18

    const/high16 v19, 0x4000

    div-float v18, v18, v19

    sub-float v8, v17, v18

    .line 639
    .local v8, panelBottom:F
    const/4 v15, 0x0

    .line 640
    .local v15, xDist:F
    cmpl-float v17, v13, v9

    if-ltz v17, :cond_3

    cmpg-float v17, v13, v10

    if-gtz v17, :cond_3

    .line 641
    const/16 v17, 0x0

    aget v17, v12, v17

    cmpl-float v17, v13, v17

    if-lez v17, :cond_2

    .line 642
    const/16 v17, 0x0

    aget v17, v12, v17

    sub-float v15, v13, v17

    .line 643
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWidth()F

    move-result v17

    div-float v15, v15, v17

    .line 644
    const/high16 v17, 0x3f00

    add-float v4, v17, v15

    .line 662
    .local v4, crumpleX:F
    :goto_0
    const/16 v17, 0x1

    move/from16 v0, p2

    move/from16 v1, v17

    if-eq v0, v1, :cond_0

    const/16 v17, 0x2

    move/from16 v0, p2

    move/from16 v1, v17

    if-ne v0, v1, :cond_1

    .line 663
    :cond_0
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    move-object/from16 v17, v0

    invoke-virtual/range {v17 .. v17}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v17

    const/high16 v18, 0x4000

    div-float v17, v17, v18

    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWidth()F

    move-result v18

    div-float v6, v17, v18

    .line 664
    .local v6, offset:F
    sub-float/2addr v4, v6

    .line 668
    .end local v6           #offset:F
    :cond_1
    const/16 v16, 0x0

    .line 669
    .local v16, yDist:F
    cmpl-float v17, v14, v8

    if-ltz v17, :cond_6

    cmpg-float v17, v14, v11

    if-gtz v17, :cond_6

    .line 670
    const/16 v17, 0x1

    aget v17, v12, v17

    cmpl-float v17, v14, v17

    if-ltz v17, :cond_5

    .line 671
    const/16 v17, 0x1

    aget v17, v12, v17

    sub-float v16, v14, v17

    .line 672
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getHeight()F

    move-result v17

    div-float v16, v16, v17

    .line 673
    const/high16 v17, 0x3f00

    add-float v17, v17, v16

    const v18, 0x3c23d70a

    add-float v5, v17, v18

    .line 691
    .local v5, crumpleY:F
    :goto_1
    invoke-virtual {v3, v4, v5}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setCrumpleCoord(FF)V

    .line 692
    const/16 v17, 0x0

    move-object v0, v3

    move/from16 v1, v17

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setMaxCrumpleBlendCount(I)V

    .line 693
    invoke-virtual {v7, v3}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 695
    new-instance v17, Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;

    move-object/from16 v0, v17

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$1;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    move-object v0, v7

    move-object/from16 v1, v17

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFCustomPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 703
    return-void

    .line 646
    .end local v4           #crumpleX:F
    .end local v5           #crumpleY:F
    .end local v16           #yDist:F
    :cond_2
    const/16 v17, 0x0

    aget v17, v12, v17

    sub-float v15, v17, v13

    .line 647
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWidth()F

    move-result v17

    div-float v15, v15, v17

    .line 648
    const/high16 v17, 0x3f00

    sub-float v4, v17, v15

    .restart local v4       #crumpleX:F
    goto :goto_0

    .line 651
    .end local v4           #crumpleX:F
    :cond_3
    cmpg-float v17, v13, v9

    if-gez v17, :cond_4

    .line 652
    sub-float v15, v9, v13

    .line 653
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWidth()F

    move-result v17

    div-float v15, v15, v17

    .line 654
    const/16 v17, 0x0

    sub-float v4, v17, v15

    .restart local v4       #crumpleX:F
    goto/16 :goto_0

    .line 656
    .end local v4           #crumpleX:F
    :cond_4
    sub-float v15, v13, v10

    .line 657
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getWidth()F

    move-result v17

    div-float v15, v15, v17

    .line 658
    const/high16 v17, 0x3f80

    add-float v4, v17, v15

    .restart local v4       #crumpleX:F
    goto/16 :goto_0

    .line 675
    .restart local v16       #yDist:F
    :cond_5
    const/16 v17, 0x1

    aget v17, v12, v17

    sub-float v16, v17, v14

    .line 676
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getHeight()F

    move-result v17

    div-float v16, v16, v17

    .line 677
    const/high16 v17, 0x3f00

    sub-float v17, v17, v16

    const v18, 0x3c23d70a

    add-float v5, v17, v18

    .restart local v5       #crumpleY:F
    goto :goto_1

    .line 680
    .end local v5           #crumpleY:F
    :cond_6
    cmpg-float v17, v14, v8

    if-gez v17, :cond_7

    .line 681
    sub-float v16, v8, v14

    .line 682
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getHeight()F

    move-result v17

    div-float v16, v16, v17

    .line 683
    const/16 v17, 0x0

    sub-float v17, v17, v16

    const v18, 0x3c23d70a

    add-float v5, v17, v18

    .restart local v5       #crumpleY:F
    goto :goto_1

    .line 685
    .end local v5           #crumpleY:F
    :cond_7
    sub-float v16, v14, v11

    .line 686
    invoke-virtual {v7}, Lcom/nemustech/tiffany/world/TFCustomPanel;->getHeight()F

    move-result v17

    div-float v16, v16, v17

    .line 687
    const/high16 v17, 0x3f80

    add-float v17, v17, v16

    const v18, 0x3c23d70a

    add-float v5, v17, v18

    .restart local v5       #crumpleY:F
    goto/16 :goto_1
.end method

.method private showTrash()V
    .locals 7

    .prologue
    const/4 v4, 0x0

    .line 1016
    const-string v0, "ElementWorkspaceControlBtn"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "[showTrash] CALL showTrash() mBandAniState="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1017
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    if-nez v0, :cond_0

    .line 1018
    const/4 v0, 0x2

    iput v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    .line 1019
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getAngle(I)F

    move-result v6

    .line 1020
    .local v6, curAngle:F
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    new-instance v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn$2;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$2;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1029
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAngle:I

    int-to-float v1, v1

    invoke-virtual {v0, v6, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->look(FF)V

    .line 1030
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/high16 v1, 0x4334

    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAngle:I

    int-to-float v2, v2

    const v3, 0x3f99999a

    move v5, v4

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->rotate(FFFII)V

    .line 1032
    .end local v6           #curAngle:F
    :cond_0
    return-void
.end method

.method private undockLRApps()V
    .locals 10

    .prologue
    const-wide/16 v4, 0x82

    const/4 v3, 0x0

    const v9, 0x3f99999a

    const/4 v8, 0x0

    const/4 v7, 0x1

    .line 1076
    const v6, 0x3f99999a

    .line 1077
    .local v6, appIconScaleFactor:F
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 1078
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v1, v8}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFHolder;Z)V

    .line 1079
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v1, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v1

    invoke-virtual {v0, v7, v1, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(IFZ)V

    .line 1080
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMinXPos:F

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v2

    add-float/2addr v1, v2

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v2, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v2

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 1081
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v1

    mul-float/2addr v1, v9

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFPanel;->getHeight()F

    move-result v2

    mul-float/2addr v2, v9

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 1082
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$3;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1100
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPanel;->getParentHolder()Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 1101
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v1, v8}, Lcom/nemustech/tiffany/world/TFPanel;->detachFrom(Lcom/nemustech/tiffany/world/TFHolder;Z)V

    .line 1102
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v1, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v1

    invoke-virtual {v0, v7, v1, v8}, Lcom/nemustech/tiffany/world/TFPanel;->locate(IFZ)V

    .line 1103
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mMaxXPos:F

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v2

    sub-float/2addr v1, v2

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v2, v7}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v2

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPanel;->move(FFFJ)V

    .line 1104
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFPanel;->getWidth()F

    move-result v1

    mul-float/2addr v1, v9

    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v2}, Lcom/nemustech/tiffany/world/TFPanel;->getHeight()F

    move-result v2

    mul-float/2addr v2, v9

    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFPanel;->setSize(FF)V

    .line 1105
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v8}, Lcom/nemustech/tiffany/world/TFPanel;->banChiselFringe(Z)V

    .line 1106
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    new-instance v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn$4;

    invoke-direct {v1, p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn$4;-><init>(Lcom/nemustech/regina/ElementWorkspaceControlBtn;)V

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1126
    :cond_1
    return-void
.end method


# virtual methods
.method public canBeRepositioned()Z
    .locals 1

    .prologue
    .line 154
    const/4 v0, 0x0

    return v0
.end method

.method public contains2D(II)I
    .locals 2
    .parameter "posX"
    .parameter "posY"

    .prologue
    .line 371
    const/4 v0, 0x0

    .line 372
    .local v0, res:I
    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashState:I

    packed-switch v1, :pswitch_data_0

    .line 375
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v0, 0x1

    .line 376
    :cond_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_1

    const/4 v0, 0x2

    .line 377
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_2

    const/4 v0, 0x5

    .line 378
    :cond_2
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_3

    const/4 v0, 0x6

    .line 393
    :cond_3
    :goto_0
    return v0

    .line 382
    :pswitch_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_3

    const/4 v0, 0x4

    goto :goto_0

    .line 387
    :pswitch_1
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_4

    const/4 v0, 0x3

    .line 388
    :cond_4
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_5

    const/4 v0, 0x5

    .line 389
    :cond_5
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppBound:Landroid/graphics/Rect;

    invoke-virtual {v1, p1, p2}, Landroid/graphics/Rect;->contains(II)Z

    move-result v1

    if-eqz v1, :cond_3

    const/4 v0, 0x6

    goto :goto_0

    .line 372
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method public fade(FJ)V
    .locals 1
    .parameter "targetOpacity"
    .parameter "durationTime"

    .prologue
    .line 1717
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, p1, p2, p3}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->fade(FJ)V

    .line 1718
    return-void
.end method

.method public getBandAidAreaBound()Landroid/graphics/Rect;
    .locals 1

    .prologue
    .line 505
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAidAreaBound:Landroid/graphics/Rect;

    return-object v0
.end method

.method public getBandAppsPanel()Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1

    .prologue
    .line 355
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public getBandLeftAppPanel()Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1

    .prologue
    .line 351
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public getBandLeftBgPanel()Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1

    .prologue
    .line 347
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public getBandRightAppPanel()Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1

    .prologue
    .line 363
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public getBandRightBgPanel()Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1

    .prologue
    .line 359
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public getDeleteBound()Landroid/graphics/Rect;
    .locals 1

    .prologue
    .line 367
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteBound:Landroid/graphics/Rect;

    return-object v0
.end method

.method public getDeleteOnlyBound()Landroid/graphics/Rect;
    .locals 1

    .prologue
    .line 529
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyBound:Landroid/graphics/Rect;

    return-object v0
.end method

.method public getDeletePanel()Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1

    .prologue
    .line 339
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public getInternalObject()Lcom/nemustech/tiffany/world/TFObject;
    .locals 1

    .prologue
    .line 1532
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    return-object v0
.end method

.method public getPlaceHolder()Lcom/nemustech/tiffany/world/TFPlaceHolder;
    .locals 1

    .prologue
    .line 1523
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    return-object v0
.end method

.method public getPos()F
    .locals 2

    .prologue
    .line 1527
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getLocation(I)F

    move-result v0

    return v0
.end method

.method public getSDStorageBroadcastReceiver()Landroid/content/BroadcastReceiver;
    .locals 1

    .prologue
    .line 225
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mSDStorageBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$SDStorageBroadcastReceiver;

    return-object v0
.end method

.method public getSnapShot()Landroid/graphics/Bitmap;
    .locals 1

    .prologue
    .line 1538
    const/4 v0, 0x0

    return-object v0
.end method

.method public getSnapShot(I)Landroid/graphics/Bitmap;
    .locals 1
    .parameter "faceIndex"

    .prologue
    .line 1814
    const/4 v0, 0x0

    return-object v0
.end method

.method public getSnapShotOpposite()Landroid/graphics/Bitmap;
    .locals 1

    .prologue
    .line 1808
    const/4 v0, 0x0

    return-object v0
.end method

.method public getUninstallBound()Landroid/graphics/Rect;
    .locals 1

    .prologue
    .line 517
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallBound:Landroid/graphics/Rect;

    return-object v0
.end method

.method public getUninstallBroadcastReceiver()Landroid/content/BroadcastReceiver;
    .locals 1

    .prologue
    .line 217
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UninstallBroadcastReceiver;

    return-object v0
.end method

.method public getUninstallOnlyBound()Landroid/graphics/Rect;
    .locals 1

    .prologue
    .line 541
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyBound:Landroid/graphics/Rect;

    return-object v0
.end method

.method public getUninstallPanel()Lcom/nemustech/tiffany/world/TFPanel;
    .locals 1

    .prologue
    .line 343
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    return-object v0
.end method

.method public getUpdateBroadcastReceiver()Landroid/content/BroadcastReceiver;
    .locals 1

    .prologue
    .line 221
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUpdateBroadcastReceiver:Lcom/nemustech/regina/ElementWorkspaceControlBtn$UpdateBroadcastReceiver;

    return-object v0
.end method

.method public initBandAidAreaBound()V
    .locals 7

    .prologue
    .line 497
    const/4 v1, 0x0

    .line 498
    .local v1, left:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget v5, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitYPos:F

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v4

    iget-object v5, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    const v6, 0x7f06000e

    invoke-virtual {v5, v6}, Lcom/nemustech/regina/ResourceCare;->getDimensionI(I)I

    move-result v5

    div-int/lit8 v5, v5, 0x2

    sub-int v3, v4, v5

    .line 499
    .local v3, top:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v4}, Lcom/nemustech/regina/RUtils;->getScreenWidthAvailable(Landroid/content/Context;)I

    move-result v2

    .line 500
    .local v2, right:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-static {v4}, Lcom/nemustech/regina/RUtils;->getScreenHeightAvailable(Landroid/content/Context;)I

    move-result v0

    .line 501
    .local v0, bottom:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAidAreaBound:Landroid/graphics/Rect;

    invoke-virtual {v4, v1, v3, v2, v0}, Landroid/graphics/Rect;->set(IIII)V

    .line 502
    return-void
.end method

.method public initDeleteBound(FF)V
    .locals 8
    .parameter "delete3DWidth"
    .parameter "delete3DHeight"

    .prologue
    const/high16 v7, 0x4000

    .line 509
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    sub-float/2addr v5, p1

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v1

    .line 510
    .local v1, left:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v3

    .line 511
    .local v3, top:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v2

    .line 512
    .local v2, right:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v0

    .line 513
    .local v0, bottom:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteBound:Landroid/graphics/Rect;

    invoke-virtual {v4, v1, v3, v2, v0}, Landroid/graphics/Rect;->set(IIII)V

    .line 514
    return-void
.end method

.method public initDeleteOnlyBound(FF)V
    .locals 8
    .parameter "deleteOnly3DWidth"
    .parameter "deleteOnly3DHeight"

    .prologue
    const/high16 v7, 0x4000

    .line 533
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    div-float v6, p1, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v1

    .line 534
    .local v1, left:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v3

    .line 535
    .local v3, top:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    div-float v6, p1, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v2

    .line 536
    .local v2, right:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v0

    .line 537
    .local v0, bottom:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyBound:Landroid/graphics/Rect;

    invoke-virtual {v4, v1, v3, v2, v0}, Landroid/graphics/Rect;->set(IIII)V

    .line 538
    return-void
.end method

.method public initUninstallBound(FF)V
    .locals 8
    .parameter "uninstall3DWidth"
    .parameter "uninstall3DHeight"

    .prologue
    const/high16 v7, 0x4000

    .line 521
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v1

    .line 522
    .local v1, left:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v3

    .line 523
    .local v3, top:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    add-float/2addr v5, p1

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v2

    .line 524
    .local v2, right:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v0

    .line 525
    .local v0, bottom:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallBound:Landroid/graphics/Rect;

    invoke-virtual {v4, v1, v3, v2, v0}, Landroid/graphics/Rect;->set(IIII)V

    .line 526
    return-void
.end method

.method public initUninstallOnlyBound(FF)V
    .locals 8
    .parameter "uninstallOnly3DWidth"
    .parameter "uninstallOnly3DHeight"

    .prologue
    const/high16 v7, 0x4000

    .line 545
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    div-float v6, p1, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v1

    .line 546
    .local v1, left:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v3

    .line 547
    .local v3, top:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getX()F

    move-result v5

    div-float v6, p1, v7

    add-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosX(Landroid/content/Context;F)I

    move-result v2

    .line 548
    .local v2, right:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->getY()F

    move-result v5

    div-float v6, p2, v7

    sub-float/2addr v5, v6

    invoke-static {v4, v5}, Lcom/nemustech/regina/RUtils;->convertTo2DPosY(Landroid/content/Context;F)I

    move-result v0

    .line 549
    .local v0, bottom:I
    iget-object v4, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyBound:Landroid/graphics/Rect;

    invoke-virtual {v4, v1, v3, v2, v0}, Landroid/graphics/Rect;->set(IIII)V

    .line 550
    return-void
.end method

.method protected isObjectEventConsumer(Lcom/nemustech/tiffany/world/TFObject;)Z
    .locals 1
    .parameter "object"

    .prologue
    .line 1543
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mEventConsumerList:Ljava/util/LinkedList;

    invoke-virtual {v0, p1}, Ljava/util/LinkedList;->contains(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method public isOwnerOf(Lcom/nemustech/tiffany/world/TFObject;)Z
    .locals 1
    .parameter "object"

    .prologue
    .line 1548
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->searchForChildObject(Lcom/nemustech/tiffany/world/TFObject;)Lcom/nemustech/tiffany/world/TFHolder;

    move-result-object v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public isUninstallableElement(Lcom/nemustech/regina/Element;)Z
    .locals 2
    .parameter "element"

    .prologue
    const/4 v1, 0x1

    .line 318
    if-nez p1, :cond_1

    .line 322
    :cond_0
    :goto_0
    return v1

    .line 320
    :cond_1
    invoke-virtual {p1}, Lcom/nemustech/regina/Element;->getPackagePath()Ljava/lang/String;

    move-result-object v0

    .line 321
    .local v0, packagePath:Ljava/lang/String;
    if-eqz v0, :cond_0

    .line 322
    const-string v1, "/system"

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v1

    goto :goto_0
.end method

.method public locateInitPos()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 597
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mInitYPos:F

    const v2, 0x3c23d70a

    invoke-virtual {v0, v3, v1, v3, v2}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->move(FFFF)V

    .line 598
    return-void
.end method

.method public removeElementInWorkspace(Lcom/nemustech/regina/RGWorkspace;Lcom/nemustech/regina/Element;)V
    .locals 1
    .parameter "removedWs"
    .parameter "ele"

    .prologue
    .line 591
    invoke-virtual {p1, p2}, Lcom/nemustech/regina/RGWorkspace;->removeElement(Lcom/nemustech/regina/Element;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 592
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0, p2}, Lcom/nemustech/regina/ReginaLauncher;->deleteElementFromDatabase(Lcom/nemustech/regina/Element;)V

    .line 594
    :cond_0
    return-void
.end method

.method public resetAni()V
    .locals 1

    .prologue
    .line 229
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-virtual {v0}, Lcom/nemustech/regina/PanelTrashMessage;->resetAllTrashMsg()V

    .line 230
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetBandAid()V

    .line 231
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->isLocked()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->unlock()V

    .line 232
    :cond_0
    return-void
.end method

.method public resetBandAid()V
    .locals 5

    .prologue
    const/4 v4, 0x0

    const/4 v3, 0x0

    .line 1166
    const-string v0, "ElementWorkspaceControlBtn"

    const-string v1, "[resetBandAid()]"

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1167
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1168
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initTrash()V

    .line 1170
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1171
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1172
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1173
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1175
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->freeze(I)V

    .line 1176
    invoke-virtual {p0, v3}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setLockStatus(Z)V

    .line 1177
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v4, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->look(FF)V

    .line 1178
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetLeftBand()V

    .line 1179
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetRightBand()V

    .line 1181
    invoke-virtual {p0, v3}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandImg(I)V

    .line 1182
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->locateInitPos()V

    .line 1183
    iput v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    .line 1184
    return-void
.end method

.method public setLockStatus(Z)V
    .locals 1
    .parameter "lockStatus"

    .prologue
    .line 1721
    if-eqz p1, :cond_0

    .line 1722
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->lock()V

    .line 1725
    :goto_0
    return-void

    .line 1724
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->unlock()V

    goto :goto_0
.end method

.method public setOpacity(F)V
    .locals 1
    .parameter "opacity"

    .prologue
    .line 1713
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setOpacity(F)V

    .line 1714
    return-void
.end method

.method public setTrashState(I)V
    .locals 0
    .parameter "state"

    .prologue
    .line 314
    iput p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashState:I

    .line 315
    return-void
.end method

.method public setVisibility(Z)V
    .locals 1
    .parameter "visible"

    .prologue
    .line 1709
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, p1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setVisibility(Z)V

    .line 1710
    return-void
.end method

.method public showBandAid()V
    .locals 7

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    const/4 v4, 0x0

    .line 1129
    iget v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    if-eq v0, v2, :cond_1

    .line 1130
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->isLocked()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getWorld()Lcom/nemustech/tiffany/world/TFWorld;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nemustech/tiffany/world/TFWorld;->lock()V

    .line 1131
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1132
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1133
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPanel;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1134
    iput v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAniState:I

    .line 1135
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->getAngle(I)F

    move-result v6

    .line 1136
    .local v6, curAngle:F
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    iget v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAngle:I

    int-to-float v1, v1

    invoke-virtual {v0, v6, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->look(FF)V

    .line 1137
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    const/4 v1, 0x0

    iget v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mAngle:I

    int-to-float v2, v2

    const v3, 0x3f99999a

    move v5, v4

    invoke-virtual/range {v0 .. v5}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->rotate(FFFII)V

    .line 1138
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAid:Lcom/nemustech/tiffany/world/TFPlaceHolder;

    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mShowBandAidFinisheListener:Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;

    invoke-virtual {v0, v1}, Lcom/nemustech/tiffany/world/TFPlaceHolder;->setEffectFinishListener(Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;)V

    .line 1139
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->initTrash()V

    .line 1141
    .end local v6           #curAngle:F
    :cond_1
    return-void
.end method

.method public showElementAction(IILcom/nemustech/regina/Element;Lcom/nemustech/regina/RGWorkspace;)Z
    .locals 14
    .parameter "posX"
    .parameter "posY"
    .parameter "element"
    .parameter "removeWs"

    .prologue
    const/4 v12, 0x0

    const/4 v11, 0x0

    const/4 v13, 0x1

    .line 708
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getObject()Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v4

    check-cast v4, Lcom/nemustech/tiffany/world/TFModel;

    .line 709
    .local v4, model:Lcom/nemustech/tiffany/world/TFModel;
    sget-object v8, Lcom/nemustech/regina/TouchedColor;->NORMAL:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v4, v8}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 711
    invoke-virtual/range {p0 .. p2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->contains2D(II)I

    move-result v7

    .line 712
    .local v7, res:I
    move-object/from16 v0, p3

    move-object v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRemovedElement:Lcom/nemustech/regina/Element;

    .line 713
    move-object/from16 v0, p4

    move-object v1, p0

    iput-object v0, v1, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRemovedWs:Lcom/nemustech/regina/RGWorkspace;

    .line 715
    packed-switch v7, :pswitch_data_0

    .line 807
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-virtual {v8}, Lcom/nemustech/regina/PanelTrashMessage;->removeAllTrashMsg()V

    .line 808
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showBandAid()V

    move v8, v11

    .line 809
    :goto_0
    return v8

    .line 718
    :pswitch_0
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-virtual {v8}, Lcom/nemustech/regina/PanelTrashMessage;->removeAllTrashMsg()V

    .line 719
    move-object v0, p0

    move-object/from16 v1, p3

    move v2, v7

    invoke-direct {v0, v1, v2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showRemoveAnimation(Lcom/nemustech/regina/Element;I)V

    move v8, v13

    .line 720
    goto :goto_0

    .line 725
    :pswitch_1
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v8

    if-eqz v8, :cond_0

    .line 726
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    new-instance v9, Landroid/content/Intent;

    const-string v10, "android.intent.action.DELETE"

    new-instance v11, Ljava/lang/StringBuilder;

    invoke-direct {v11}, Ljava/lang/StringBuilder;-><init>()V

    const-string v12, "package:"

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v11, v12}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v11

    invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v11

    invoke-static {v11}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v11

    invoke-direct {v9, v10, v11}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaLauncher;->startActivitySafely(Landroid/content/Intent;)V

    .line 727
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v8

    invoke-virtual {v8}, Ljava/util/Stack;->size()I

    move-result v8

    if-lez v8, :cond_0

    .line 728
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getObject()Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v5

    check-cast v5, Lcom/nemustech/tiffany/world/TFCustomPanel;

    .line 729
    .local v5, panel:Lcom/nemustech/tiffany/world/TFCustomPanel;
    new-instance v6, Lcom/nemustech/tiffany/world/TFReverseEffect;

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v8

    invoke-direct {v6, v5, v8}, Lcom/nemustech/tiffany/world/TFReverseEffect;-><init>(Lcom/nemustech/tiffany/world/TFCustomPanel;Ljava/util/Stack;)V

    .line 730
    .local v6, rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    invoke-virtual {v5, v6}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 734
    .end local v5           #panel:Lcom/nemustech/tiffany/world/TFCustomPanel;
    .end local v6           #rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    :cond_0
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-virtual {v8}, Lcom/nemustech/regina/PanelTrashMessage;->resetAllTrashMsg()V

    .line 735
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->resetBandAid()V

    .line 737
    move-object/from16 v0, p3

    check-cast v0, Lcom/nemustech/regina/ElementShortcut;

    move-object v8, v0

    invoke-virtual {v8}, Lcom/nemustech/regina/ElementShortcut;->isDetachAppList()Z

    move-result v8

    if-eqz v8, :cond_1

    .line 738
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mContext:Landroid/content/Context;

    check-cast v8, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getWorkspaceMode()I

    move-result v8

    invoke-direct {p0, v8}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeElementInWorkspace(I)V

    .line 741
    :cond_1
    invoke-virtual/range {p3 .. p4}, Lcom/nemustech/regina/Element;->setWorkspace(Lcom/nemustech/regina/RGWorkspace;)V

    .line 742
    move-object/from16 v0, p4

    move-object/from16 v1, p3

    invoke-virtual {v0, v1}, Lcom/nemustech/regina/RGWorkspace;->attachElement(Lcom/nemustech/regina/Element;)Z

    .line 743
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->locateInit()V

    move v8, v13

    .line 745
    goto/16 :goto_0

    .line 749
    :pswitch_2
    const-string v8, "ElementWorkspaceControlBtn"

    const-string v9, "[showElementAction()] BOUND_POSITION2D_LEFT_APP_CONTAIN >>>>>>>>>>>>>>>"

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 750
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.getPackageName()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 751
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.getClassName()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getClassName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 752
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.isFromWorkspace()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->isFromWorkspace()Z

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 753
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.getItemType()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getItemType()I

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 754
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-virtual {v8}, Lcom/nemustech/regina/PanelTrashMessage;->removeAllTrashMsg()V

    .line 755
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v8

    if-eqz v8, :cond_3

    .line 756
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v8

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getClassName()Ljava/lang/String;

    move-result-object v9

    iget-object v10, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppIntent:Landroid/content/Intent;

    invoke-direct {p0, v8, v9, v12, v10}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setAppIntent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/pm/ResolveInfo;

    move-result-object v8

    iput-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    .line 757
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    if-eqz v8, :cond_4

    .line 758
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    iget-object v9, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v9}, Lcom/nemustech/regina/ReginaLauncher;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v9

    invoke-virtual {v8, v9}, Landroid/content/pm/ResolveInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v8

    check-cast v8, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v8}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v8

    sget-object v9, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v8, v9, v13}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;

    move-result-object v3

    .line 760
    .local v3, icon:Landroid/graphics/Bitmap;
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v8, v11, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v8

    if-eqz v8, :cond_2

    .line 761
    invoke-virtual {v3}, Landroid/graphics/Bitmap;->recycle()V

    .line 763
    :cond_2
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    const-string v9, "android.intent.action.MAIN"

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppIntentAction(Ljava/lang/String;)V

    .line 764
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppPackageName(Ljava/lang/String;)V

    .line 765
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getClassName()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceLeftAppClassName(Ljava/lang/String;)V

    .line 766
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 767
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mContext:Landroid/content/Context;

    check-cast v8, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getWorkspaceMode()I

    move-result v8

    invoke-direct {p0, v8}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeElementInWorkspace(I)V

    .line 768
    const-string v8, "ElementWorkspaceControlBtn"

    const-string v9, "[showElementAction()] BOUND_POSITION2D_LEFT_APP_CONTAIN Complete >>>>>>>>>>>>>>>"

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 773
    .end local v3           #icon:Landroid/graphics/Bitmap;
    :cond_3
    :goto_1
    sget-object v8, Lcom/nemustech/regina/TouchedColor;->NORMAL:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v4, v8}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 774
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showBandAid()V

    .line 775
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    if-nez v8, :cond_5

    move v8, v11

    goto/16 :goto_0

    .line 770
    :cond_4
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v9, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    const v10, 0x7f0700ea

    invoke-virtual {v9, v10}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/RUtils;->showToast(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/Toast;

    goto :goto_1

    :cond_5
    move v8, v13

    .line 775
    goto/16 :goto_0

    .line 779
    :pswitch_3
    const-string v8, "ElementWorkspaceControlBtn"

    const-string v9, "[showElementAction()] BOUND_POSITION2D_RIGHT_APP_CONTAIN >>>>>>>>>>>>>>>"

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 780
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.getPackageName()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 781
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.getClassName()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getClassName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 782
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.isFromWorkspace()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->isFromWorkspace()Z

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 783
    const-string v8, "ElementWorkspaceControlBtn"

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    const-string v10, "[showElementAction()] element.getItemType()="

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getItemType()I

    move-result v10

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 784
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-virtual {v8}, Lcom/nemustech/regina/PanelTrashMessage;->removeAllTrashMsg()V

    .line 785
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v8

    if-eqz v8, :cond_7

    .line 786
    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v8

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getClassName()Ljava/lang/String;

    move-result-object v9

    iget-object v10, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppIntent:Landroid/content/Intent;

    invoke-direct {p0, v8, v9, v12, v10}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setAppIntent(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/content/Intent;)Landroid/content/pm/ResolveInfo;

    move-result-object v8

    iput-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    .line 787
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    if-eqz v8, :cond_8

    .line 788
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppRI:Landroid/content/pm/ResolveInfo;

    iget-object v9, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v9}, Lcom/nemustech/regina/ReginaLauncher;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v9

    invoke-virtual {v8, v9}, Landroid/content/pm/ResolveInfo;->loadIcon(Landroid/content/pm/PackageManager;)Landroid/graphics/drawable/Drawable;

    move-result-object v8

    check-cast v8, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v8}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v8

    sget-object v9, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->BMP_CONFIG:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v8, v9, v13}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;

    move-result-object v3

    .line 790
    .restart local v3       #icon:Landroid/graphics/Bitmap;
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRightAppPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v8, v11, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    move-result v8

    if-eqz v8, :cond_6

    .line 791
    invoke-virtual {v3}, Landroid/graphics/Bitmap;->recycle()V

    .line 792
    :cond_6
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    const-string v9, "android.intent.action.MAIN"

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppIntentAction(Ljava/lang/String;)V

    .line 793
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getPackageName()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppPackageName(Ljava/lang/String;)V

    .line 794
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual/range {p3 .. p3}, Lcom/nemustech/regina/Element;->getClassName()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v8, v9}, Lcom/nemustech/regina/ReginaPreference;->setWorkspaceRightAppClassName(Ljava/lang/String;)V

    .line 795
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaPref:Lcom/nemustech/regina/ReginaPreference;

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaPreference;->commitPref()Z

    .line 796
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mContext:Landroid/content/Context;

    check-cast v8, Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v8}, Lcom/nemustech/regina/ReginaLauncher;->getWorkspaceMode()I

    move-result v8

    invoke-direct {p0, v8}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->removeElementInWorkspace(I)V

    .line 797
    const-string v8, "ElementWorkspaceControlBtn"

    const-string v9, "[showElementAction()] BOUND_POSITION2D_RIGHT_APP_CONTAIN Complete >>>>>>>>>>>>>>>"

    invoke-static {v8, v9, v13}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 802
    .end local v3           #icon:Landroid/graphics/Bitmap;
    :cond_7
    :goto_2
    sget-object v8, Lcom/nemustech/regina/TouchedColor;->NORMAL:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v4, v8}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 803
    invoke-virtual {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showBandAid()V

    .line 804
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mLeftAppRI:Landroid/content/pm/ResolveInfo;

    if-nez v8, :cond_9

    move v8, v11

    goto/16 :goto_0

    .line 799
    :cond_8
    iget-object v8, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    iget-object v9, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mRC:Lcom/nemustech/regina/ResourceCare;

    const v10, 0x7f0700e9

    invoke-virtual {v9, v10}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v9

    invoke-static {v8, v9}, Lcom/nemustech/regina/RUtils;->showToast(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/Toast;

    goto :goto_2

    :cond_9
    move v8, v13

    .line 804
    goto/16 :goto_0

    .line 715
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public showElementStatus(IILcom/nemustech/regina/Element;)V
    .locals 8
    .parameter "posX"
    .parameter "posY"
    .parameter "element"

    .prologue
    .line 400
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getObject()Lcom/nemustech/tiffany/world/TFObject;

    move-result-object v3

    check-cast v3, Lcom/nemustech/tiffany/world/TFCustomPanel;

    .line 402
    .local v3, panel:Lcom/nemustech/tiffany/world/TFCustomPanel;
    new-instance v0, Lcom/nemustech/tiffany/world/TFCrumpleEffect;

    invoke-direct {v0, v3}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;-><init>(Lcom/nemustech/tiffany/world/TFCustomPanel;)V

    .line 403
    .local v0, cEff:Lcom/nemustech/tiffany/world/TFCrumpleEffect;
    const/4 v6, 0x0

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setRemovable(Z)V

    .line 404
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setVertexStack(Ljava/util/Stack;)V

    .line 405
    const/4 v6, 0x2

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setEffectMode(I)V

    .line 406
    const/4 v6, 0x6

    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v7

    invoke-virtual {v7}, Ljava/util/Stack;->size()I

    move-result v7

    sub-int/2addr v6, v7

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setMaxCrumpleBlendCount(I)V

    .line 407
    const v6, 0x3caaaaab

    invoke-virtual {v0, v6}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setCrumpleSizePerStep(F)V

    .line 408
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getElementTouchedWidth2D()F

    move-result v6

    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getWidth2D()I

    move-result v7

    int-to-float v7, v7

    div-float v1, v6, v7

    .line 409
    .local v1, crumpleX:F
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getHeight2D()I

    move-result v6

    int-to-float v6, v6

    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getElementTouchedHeight2D()F

    move-result v7

    sub-float/2addr v6, v7

    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getHeight2D()I

    move-result v7

    int-to-float v7, v7

    div-float v2, v6, v7

    .line 410
    .local v2, crumpleY:F
    invoke-virtual {v0, v1, v2}, Lcom/nemustech/tiffany/world/TFCrumpleEffect;->setTouchCoord(FF)V

    .line 412
    invoke-virtual {p0, p1, p2}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->contains2D(II)I

    move-result v5

    .line 413
    .local v5, res:I
    packed-switch v5, :pswitch_data_0

    .line 483
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeletePanelImg(Z)V

    .line 484
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallPanelImg(Z)V

    .line 485
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeleteOnlyPanelImg(Z)V

    .line 486
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v6

    if-lez v6, :cond_0

    .line 487
    new-instance v4, Lcom/nemustech/tiffany/world/TFReverseEffect;

    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-direct {v4, v3, v6}, Lcom/nemustech/tiffany/world/TFReverseEffect;-><init>(Lcom/nemustech/tiffany/world/TFCustomPanel;Ljava/util/Stack;)V

    .line 488
    .local v4, rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 491
    .end local v4           #rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    :cond_0
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    invoke-virtual {v6}, Lcom/nemustech/regina/PanelTrashMessage;->removeAllTrashMsg()V

    .line 494
    :goto_0
    return-void

    .line 415
    :pswitch_0
    sget-object v6, Lcom/nemustech/regina/TouchedColor;->YELLOW:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v3, v6}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 416
    const/4 v6, 0x1

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeletePanelImg(Z)V

    .line 417
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallPanelImg(Z)V

    .line 418
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v6

    const/4 v7, 0x6

    if-ge v6, v7, :cond_1

    .line 419
    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 421
    :cond_1
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->removeOthersTrashMsg(I)V

    .line 422
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->showTrashMsg(I)V

    goto :goto_0

    .line 426
    :pswitch_1
    sget-object v6, Lcom/nemustech/regina/TouchedColor;->YELLOW:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v3, v6}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 427
    const/4 v6, 0x1

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeleteOnlyPanelImg(Z)V

    .line 428
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v6

    const/4 v7, 0x6

    if-ge v6, v7, :cond_2

    .line 429
    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 431
    :cond_2
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->removeOthersTrashMsg(I)V

    .line 432
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x1

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->showTrashMsg(I)V

    goto :goto_0

    .line 436
    :pswitch_2
    sget-object v6, Lcom/nemustech/regina/TouchedColor;->RED:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v3, v6}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 437
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeletePanelImg(Z)V

    .line 438
    const/4 v6, 0x1

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallPanelImg(Z)V

    .line 439
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v6

    const/4 v7, 0x6

    if-ge v6, v7, :cond_3

    .line 440
    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 442
    :cond_3
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x2

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->removeOthersTrashMsg(I)V

    .line 443
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x2

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->showTrashMsg(I)V

    goto :goto_0

    .line 447
    :pswitch_3
    sget-object v6, Lcom/nemustech/regina/TouchedColor;->RED:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v3, v6}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 448
    const/4 v6, 0x1

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallOnlyPanelImg(Z)V

    .line 449
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v6

    const/4 v7, 0x6

    if-ge v6, v7, :cond_4

    .line 450
    invoke-virtual {v3, v0}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 452
    :cond_4
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x2

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->removeOthersTrashMsg(I)V

    .line 453
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x2

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->showTrashMsg(I)V

    goto/16 :goto_0

    .line 457
    :pswitch_4
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeletePanelImg(Z)V

    .line 458
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallPanelImg(Z)V

    .line 459
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeleteOnlyPanelImg(Z)V

    .line 460
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v6

    if-lez v6, :cond_5

    .line 461
    new-instance v4, Lcom/nemustech/tiffany/world/TFReverseEffect;

    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-direct {v4, v3, v6}, Lcom/nemustech/tiffany/world/TFReverseEffect;-><init>(Lcom/nemustech/tiffany/world/TFCustomPanel;Ljava/util/Stack;)V

    .line 462
    .restart local v4       #rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 464
    .end local v4           #rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    :cond_5
    sget-object v6, Lcom/nemustech/regina/TouchedColor;->ORANGE:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v3, v6}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 465
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x3

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->removeOthersTrashMsg(I)V

    .line 466
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x3

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->showTrashMsg(I)V

    goto/16 :goto_0

    .line 470
    :pswitch_5
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeletePanelImg(Z)V

    .line 471
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchUninstallPanelImg(Z)V

    .line 472
    const/4 v6, 0x0

    invoke-virtual {p0, v6}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchDeleteOnlyPanelImg(Z)V

    .line 473
    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/Stack;->size()I

    move-result v6

    if-lez v6, :cond_6

    .line 474
    new-instance v4, Lcom/nemustech/tiffany/world/TFReverseEffect;

    invoke-virtual {p3}, Lcom/nemustech/regina/Element;->getPanelVertexStack()Ljava/util/Stack;

    move-result-object v6

    invoke-direct {v4, v3, v6}, Lcom/nemustech/tiffany/world/TFReverseEffect;-><init>(Lcom/nemustech/tiffany/world/TFCustomPanel;Ljava/util/Stack;)V

    .line 475
    .restart local v4       #rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    invoke-virtual {v3, v4}, Lcom/nemustech/tiffany/world/TFCustomPanel;->startBlender(Lcom/nemustech/tiffany/world/TFCustomPanel$Blender;)V

    .line 477
    .end local v4           #rEff:Lcom/nemustech/tiffany/world/TFReverseEffect;
    :cond_6
    sget-object v6, Lcom/nemustech/regina/TouchedColor;->ORANGE:Lcom/nemustech/regina/TouchedColor;

    invoke-static {v3, v6}, Lcom/nemustech/regina/RUtils;->setTouchedFaceColor(Lcom/nemustech/tiffany/world/TFModel;Lcom/nemustech/regina/TouchedColor;)V

    .line 478
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x4

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->removeOthersTrashMsg(I)V

    .line 479
    iget-object v6, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mTrashMessage:Lcom/nemustech/regina/PanelTrashMessage;

    const/4 v7, 0x4

    invoke-virtual {v6, v7}, Lcom/nemustech/regina/PanelTrashMessage;->showTrashMsg(I)V

    goto/16 :goto_0

    .line 413
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_2
        :pswitch_1
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method

.method public showTrash(I)V
    .locals 5
    .parameter "trashState"

    .prologue
    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 1035
    const-string v0, "ElementWorkspaceControlBtn"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "[showTrash] -------------------------------------- trashState="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/nemustech/regina/RLog;->d(Ljava/lang/String;Ljava/lang/String;Z)I

    .line 1036
    invoke-virtual {p0, v4}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->setLockStatus(Z)V

    .line 1037
    packed-switch p1, :pswitch_data_0

    .line 1066
    :pswitch_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1067
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1068
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1069
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1070
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->undockLRApps()V

    .line 1073
    :goto_0
    return-void

    .line 1039
    :pswitch_1
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1040
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1041
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1042
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1043
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showTrash()V

    goto :goto_0

    .line 1047
    :pswitch_2
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1048
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1049
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1050
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1051
    if-ne p1, v4, :cond_0

    .line 1052
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showTrash()V

    goto :goto_0

    .line 1054
    :cond_0
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->undockLRApps()V

    goto :goto_0

    .line 1058
    :pswitch_3
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1059
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v4}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1060
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1061
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setVisibility(Z)V

    .line 1062
    invoke-direct {p0}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->showTrash()V

    goto :goto_0

    .line 1037
    :pswitch_data_0
    .packed-switch -0x1
        :pswitch_1
        :pswitch_0
        :pswitch_2
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public switchBandAppsPanelImg(I)V
    .locals 4
    .parameter "state"

    .prologue
    .line 968
    const/4 v0, 0x0

    .line 969
    .local v0, rId:I
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v1}, Lcom/nemustech/regina/ReginaLauncher;->getElementAppList()Lcom/nemustech/regina/ElementAppList;

    move-result-object v1

    invoke-virtual {v1}, Lcom/nemustech/regina/ElementAppList;->isInAppList()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 970
    packed-switch p1, :pswitch_data_0

    .line 978
    const v0, 0x7f020013

    .line 994
    :goto_0
    iget-object v1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandAppsPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v3}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v3

    invoke-virtual {v1, v2, v3, v0}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/content/res/Resources;I)Lcom/nemustech/tiffany/world/TFError;

    .line 995
    return-void

    .line 972
    :pswitch_0
    const v0, 0x7f020014

    .line 973
    goto :goto_0

    .line 975
    :pswitch_1
    const v0, 0x7f020015

    .line 976
    goto :goto_0

    .line 982
    :cond_0
    packed-switch p1, :pswitch_data_1

    .line 990
    const v0, 0x7f020010

    goto :goto_0

    .line 984
    :pswitch_2
    const v0, 0x7f020011

    .line 985
    goto :goto_0

    .line 987
    :pswitch_3
    const v0, 0x7f020012

    .line 988
    goto :goto_0

    .line 970
    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch

    .line 982
    :pswitch_data_1
    .packed-switch 0x1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method public switchBandImg(I)V
    .locals 0
    .parameter "state"

    .prologue
    .line 962
    invoke-virtual {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandAppsPanelImg(I)V

    .line 963
    invoke-virtual {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandRightPanelImg(I)V

    .line 964
    invoke-virtual {p0, p1}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->switchBandLeftPanelImg(I)V

    .line 965
    return-void
.end method

.method public switchBandLeftPanelImg(I)V
    .locals 4
    .parameter "state"

    .prologue
    .line 945
    const/4 v1, 0x0

    .line 946
    .local v1, rId:I
    packed-switch p1, :pswitch_data_0

    .line 954
    const v1, 0x7f020019

    .line 957
    :goto_0
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-static {v2, v1}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 958
    .local v0, bg:Landroid/graphics/Bitmap;
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandLeftBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v3, 0x0

    invoke-virtual {v2, v3, v0}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 959
    return-void

    .line 948
    .end local v0           #bg:Landroid/graphics/Bitmap;
    :pswitch_0
    const v1, 0x7f02001a

    .line 949
    goto :goto_0

    .line 951
    :pswitch_1
    const v1, 0x7f02001b

    .line 952
    goto :goto_0

    .line 946
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public switchBandRightPanelImg(I)V
    .locals 4
    .parameter "state"

    .prologue
    .line 998
    const/4 v1, 0x0

    .line 999
    .local v1, rId:I
    packed-switch p1, :pswitch_data_0

    .line 1007
    const v1, 0x7f02001c

    .line 1010
    :goto_0
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v2}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-static {v2, v1}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    .line 1011
    .local v0, bg:Landroid/graphics/Bitmap;
    iget-object v2, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mBandRightBgPanel:Lcom/nemustech/tiffany/world/TFPanel;

    const/4 v3, 0x0

    invoke-virtual {v2, v3, v0}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 1012
    return-void

    .line 1001
    .end local v0           #bg:Landroid/graphics/Bitmap;
    :pswitch_0
    const v1, 0x7f02001d

    .line 1002
    goto :goto_0

    .line 1004
    :pswitch_1
    const v1, 0x7f02001e

    .line 1005
    goto :goto_0

    .line 999
    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public switchDeleteOnlyPanelImg(Z)V
    .locals 7
    .parameter "isFocus"

    .prologue
    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 911
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusDeleteOnly:Z

    if-ne v0, p1, :cond_0

    .line 925
    :goto_0
    return-void

    .line 916
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020016

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    .line 917
    .local v1, bgLeftRight:Landroid/graphics/Bitmap;
    if-eqz p1, :cond_1

    .line 918
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020020

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .local v2, icon:Landroid/graphics/Bitmap;
    :goto_1
    move-object v0, p0

    move v5, v4

    .line 922
    invoke-direct/range {v0 .. v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 923
    .local v6, bitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeleteOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 924
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusDeleteOnly:Z

    goto :goto_0

    .line 920
    .end local v2           #icon:Landroid/graphics/Bitmap;
    .end local v6           #bitmap:Landroid/graphics/Bitmap;
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f02001f

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .restart local v2       #icon:Landroid/graphics/Bitmap;
    goto :goto_1
.end method

.method public switchDeletePanelImg(Z)V
    .locals 7
    .parameter "isFocus"

    .prologue
    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 894
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusDelete:Z

    if-ne v0, p1, :cond_0

    .line 908
    :goto_0
    return-void

    .line 898
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020017

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    .line 899
    .local v1, bg:Landroid/graphics/Bitmap;
    if-eqz p1, :cond_1

    .line 900
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020020

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .local v2, icon:Landroid/graphics/Bitmap;
    :goto_1
    move-object v0, p0

    move v5, v4

    .line 905
    invoke-direct/range {v0 .. v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 906
    .local v6, bitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mDeletePanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 907
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusDelete:Z

    goto :goto_0

    .line 902
    .end local v2           #icon:Landroid/graphics/Bitmap;
    .end local v6           #bitmap:Landroid/graphics/Bitmap;
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f02001f

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .restart local v2       #icon:Landroid/graphics/Bitmap;
    goto :goto_1
.end method

.method public switchUninstallOnlyPanelImg(Z)V
    .locals 7
    .parameter "isFocus"

    .prologue
    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 928
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusUninstallOnly:Z

    if-ne v0, p1, :cond_0

    .line 942
    :goto_0
    return-void

    .line 933
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020016

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    .line 934
    .local v1, bgLeftRight:Landroid/graphics/Bitmap;
    if-eqz p1, :cond_1

    .line 935
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020022

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .local v2, icon:Landroid/graphics/Bitmap;
    :goto_1
    move-object v0, p0

    move v5, v4

    .line 939
    invoke-direct/range {v0 .. v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 940
    .local v6, bitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallOnlyPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 941
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusUninstallOnly:Z

    goto :goto_0

    .line 937
    .end local v2           #icon:Landroid/graphics/Bitmap;
    .end local v6           #bitmap:Landroid/graphics/Bitmap;
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020021

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .restart local v2       #icon:Landroid/graphics/Bitmap;
    goto :goto_1
.end method

.method public switchUninstallPanelImg(Z)V
    .locals 7
    .parameter "isFocus"

    .prologue
    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 876
    iget-boolean v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusUninstall:Z

    if-ne v0, p1, :cond_0

    .line 891
    :goto_0
    return-void

    .line 881
    :cond_0
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020018

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v1

    .line 882
    .local v1, bg:Landroid/graphics/Bitmap;
    if-eqz p1, :cond_1

    .line 883
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020022

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .local v2, icon:Landroid/graphics/Bitmap;
    :goto_1
    move-object v0, p0

    move v5, v4

    .line 888
    invoke-direct/range {v0 .. v5}, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->makeBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Bitmap;IFF)Landroid/graphics/Bitmap;

    move-result-object v6

    .line 889
    .local v6, bitmap:Landroid/graphics/Bitmap;
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mUninstallPanel:Lcom/nemustech/tiffany/world/TFPanel;

    invoke-virtual {v0, v3, v6}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;)Z

    .line 890
    iput-boolean p1, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mIsFocusUninstall:Z

    goto :goto_0

    .line 885
    .end local v2           #icon:Landroid/graphics/Bitmap;
    .end local v6           #bitmap:Landroid/graphics/Bitmap;
    :cond_1
    iget-object v0, p0, Lcom/nemustech/regina/ElementWorkspaceControlBtn;->mReginaLauncher:Lcom/nemustech/regina/ReginaLauncher;

    invoke-virtual {v0}, Lcom/nemustech/regina/ReginaLauncher;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v5, 0x7f020021

    invoke-static {v0, v5}, Lcom/nemustech/regina/RUtils;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v2

    .restart local v2       #icon:Landroid/graphics/Bitmap;
    goto :goto_1
.end method
